Package org.lwjgl.vulkan
Class EXTLineRasterization
java.lang.Object
org.lwjgl.vulkan.EXTLineRasterization
This extension adds some line rasterization features that are commonly used in CAD applications and supported in other APIs like OpenGL. Bresenham-style line rasterization is supported, smooth rectangular lines (coverage to alpha) are supported, and stippled lines are supported for all three line rasterization modes.
Promotion to
Promotion to VK_KHR_line_rasterization
All functionality in this extension is included in VK_KHR_line_rasterization, with the suffix changed to KHR. The original enum names are still available as aliases of the KHR functionality.
- Name String
VK_EXT_line_rasterization- Extension Type
- Device extension
- Registered Extension Number
- 260
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_get_physical_device_properties2or Version 1.1- Deprecation State
- Promoted to
VK_KHR_line_rasterizationextension- Which in turn was promoted to Vulkan 1.4
- Promoted to
- Special Use
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2019-05-09
- IP Status
- No known IP claims.
- Contributors
- Jeff Bolz, NVIDIA
- Allen Jensen, NVIDIA
- Faith Ekstrand, Intel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkDynamicState.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkLineRasterizationMode.static final intExtendsVkLineRasterizationMode.static final intExtendsVkLineRasterizationMode.static final intExtendsVkLineRasterizationMode.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvkCmdSetLineStippleEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int lineStippleFactor, short lineStipplePattern) SeeCmdSetLineStipple.
-
Field Details
-
VK_EXT_LINE_RASTERIZATION_SPEC_VERSION
public static final int VK_EXT_LINE_RASTERIZATION_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT
public static final int VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_DYNAMIC_STATE_LINE_STIPPLE_EXT
public static final int VK_DYNAMIC_STATE_LINE_STIPPLE_EXTExtendsVkDynamicState.- See Also:
-
VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT
public static final int VK_LINE_RASTERIZATION_MODE_DEFAULT_EXTExtendsVkLineRasterizationMode.Enum values:
- See Also:
-
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT
public static final int VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXTExtendsVkLineRasterizationMode.Enum values:
- See Also:
-
VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT
public static final int VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXTExtendsVkLineRasterizationMode.Enum values:
- See Also:
-
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT
public static final int VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXTExtendsVkLineRasterizationMode.Enum values:
- See Also:
-
-
Method Details
-
vkCmdSetLineStippleEXT
public static void vkCmdSetLineStippleEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int lineStippleFactor, short lineStipplePattern) SeeCmdSetLineStipple.- Parameters:
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.
-