C Specification
Line segment rasterization options are controlled by the VkPipelineRasterizationLineStateCreateInfoEXT structure.
The VkPipelineRasterizationLineStateCreateInfoEXT
structure is defined
as:
// Provided by VK_EXT_line_rasterization
typedef struct VkPipelineRasterizationLineStateCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkLineRasterizationModeEXT lineRasterizationMode;
VkBool32 stippledLineEnable;
uint32_t lineStippleFactor;
uint16_t lineStipplePattern;
} VkPipelineRasterizationLineStateCreateInfoEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
lineRasterizationMode
is a VkLineRasterizationModeEXT value selecting the style of line rasterization. -
stippledLineEnable
enables stippled line rasterization. -
lineStippleFactor
is the repeat factor used in stippled line rasterization. -
lineStipplePattern
is the bit pattern used in stippled line rasterization.
Description
If stippledLineEnable
is VK_FALSE
, the values of
lineStippleFactor
and lineStipplePattern
are ignored.
Document Notes
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.