public class EXTLineRasterization
extends java.lang.Object
VK_EXT_line_rasterizationVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_DYNAMIC_STATE_LINE_STIPPLE_EXT
Extends
VkDynamicState. |
static java.lang.String |
VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_LINE_RASTERIZATION_SPEC_VERSION
The extension specification version.
|
static int |
VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT
VkLineRasterizationModeEXT - Line rasterization modes
|
static int |
VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT
VkLineRasterizationModeEXT - Line rasterization modes
|
static int |
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT
VkLineRasterizationModeEXT - Line rasterization modes
|
static int |
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT
VkLineRasterizationModeEXT - Line rasterization modes
|
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
vkCmdSetLineStippleEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int lineStippleFactor,
short lineStipplePattern)
Set the dynamic line width state.
|
public static final int VK_EXT_LINE_RASTERIZATION_SPEC_VERSION
public static final java.lang.String VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT
VkStructureType.
public static final int VK_DYNAMIC_STATE_LINE_STIPPLE_EXT
VkDynamicState.public static final int VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT
LINE_RASTERIZATION_MODE_DEFAULT_EXT is equivalent to LINE_RASTERIZATION_MODE_RECTANGULAR_EXT if VkPhysicalDeviceLimits::strictLines is TRUE, otherwise lines are drawn as non-strictLines parallelograms. Both of these modes are defined in Basic Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_EXT specifies lines drawn as if they were rectangles extruded from the lineLINE_RASTERIZATION_MODE_BRESENHAM_EXT specifies lines drawn by determining which pixel diamonds the line intersects and exits, as defined in Bresenham Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT specifies lines drawn if they were rectangles extruded from the line, with alpha falloff, as defined in Smooth Lines.public static final int VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT
LINE_RASTERIZATION_MODE_DEFAULT_EXT is equivalent to LINE_RASTERIZATION_MODE_RECTANGULAR_EXT if VkPhysicalDeviceLimits::strictLines is TRUE, otherwise lines are drawn as non-strictLines parallelograms. Both of these modes are defined in Basic Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_EXT specifies lines drawn as if they were rectangles extruded from the lineLINE_RASTERIZATION_MODE_BRESENHAM_EXT specifies lines drawn by determining which pixel diamonds the line intersects and exits, as defined in Bresenham Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT specifies lines drawn if they were rectangles extruded from the line, with alpha falloff, as defined in Smooth Lines.public static final int VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT
LINE_RASTERIZATION_MODE_DEFAULT_EXT is equivalent to LINE_RASTERIZATION_MODE_RECTANGULAR_EXT if VkPhysicalDeviceLimits::strictLines is TRUE, otherwise lines are drawn as non-strictLines parallelograms. Both of these modes are defined in Basic Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_EXT specifies lines drawn as if they were rectangles extruded from the lineLINE_RASTERIZATION_MODE_BRESENHAM_EXT specifies lines drawn by determining which pixel diamonds the line intersects and exits, as defined in Bresenham Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT specifies lines drawn if they were rectangles extruded from the line, with alpha falloff, as defined in Smooth Lines.public static final int VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT
LINE_RASTERIZATION_MODE_DEFAULT_EXT is equivalent to LINE_RASTERIZATION_MODE_RECTANGULAR_EXT if VkPhysicalDeviceLimits::strictLines is TRUE, otherwise lines are drawn as non-strictLines parallelograms. Both of these modes are defined in Basic Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_EXT specifies lines drawn as if they were rectangles extruded from the lineLINE_RASTERIZATION_MODE_BRESENHAM_EXT specifies lines drawn by determining which pixel diamonds the line intersects and exits, as defined in Bresenham Line Segment Rasterization.LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT specifies lines drawn if they were rectangles extruded from the line, with alpha falloff, as defined in Smooth Lines.public static void vkCmdSetLineStippleEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
int lineStippleFactor,
short lineStipplePattern)
The line stipple factor and pattern are specified by the VkPipelineRasterizationLineStateCreateInfoEXT::lineStippleFactor and VkPipelineRasterizationLineStateCreateInfoEXT::lineStipplePattern members of the currently active pipeline, if the pipeline was not created with DYNAMIC_STATE_LINE_STIPPLE_EXT enabled.
Otherwise, the line stipple factor and pattern are set by calling vkCmdSetLineStippleEXT:
void vkCmdSetLineStippleEXT(
VkCommandBuffer commandBuffer,
uint32_t lineStippleFactor,
uint16_t lineStipplePattern);
DYNAMIC_STATE_LINE_STIPPLE_EXT dynamic state enabledlineStippleFactor must be in the range [1,256]commandBuffer must be a valid VkCommandBuffer handlecommandBuffer must be in the recording stateVkCommandPool that commandBuffer was allocated from must support graphics operationscommandBuffer must be externally synchronizedVkCommandPool that commandBuffer was allocated from must be externally synchronized| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics |
commandBuffer - the command buffer into which the command will be recorded.lineStippleFactor - the repeat factor used in stippled line rasterization.lineStipplePattern - the bit pattern used in stippled line rasterization.Copyright LWJGL. All Rights Reserved. License terms.