Each line segment has an associated width.
The line width is specified by the
lineWidth property of
the currently active pipeline, if the pipeline was not created with
Otherwise, the line width is set by calling
// Provided by VK_VERSION_1_0 void vkCmdSetLineWidth( VkCommandBuffer commandBuffer, float lineWidth);
commandBufferis the command buffer into which the command will be recorded.
lineWidthis the width of rasterized line segments.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.