Package org.lwjgl.vulkan
Class EXTExtendedDynamicState
- java.lang.Object
-
- org.lwjgl.vulkan.EXTExtendedDynamicState
-
public class EXTExtendedDynamicState extends java.lang.ObjectThis extension adds some more dynamic state to support applications that need to reduce the number of pipeline state objects they compile and bind.Promotion to Vulkan 1.3
This extension has been partially promoted. All dynamic state enumerants and entry points in this extension are included in core Vulkan 1.3, with the EXT suffix omitted. The feature structure is not promoted. Extension interfaces that were promoted remain available as aliases of the core functionality.
VK_EXT_extended_dynamic_state
- Name String
VK_EXT_extended_dynamic_state- Extension Type
- Device extension
- Registered Extension Number
- 268
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Deprecation state
- Promoted to Vulkan 1.3
- Contact
- Piers Daniell pdaniell-nv
Other Extension Metadata
- Last Modified Date
- 2019-12-09
- Interactions and External Dependencies
- Promoted to Vulkan 1.3 Core
- IP Status
- No known IP claims.
- Contributors
- Dan Ginsburg, Valve Corporation
- Graeme Leese, Broadcom
- Hans-Kristian Arntzen, Valve Corporation
- Jan-Harald Fredriksen, Arm Limited
- Jason Ekstrand, Intel
- Jeff Bolz, NVIDIA
- Jesse Hall, Google
- Philip Rebohle, Valve Corporation
- Stuart Smith, Imagination Technologies
- Tobias Hector, AMD
-
-
Field Summary
Fields Modifier and Type Field Description static intVK_DYNAMIC_STATE_CULL_MODE_EXT
VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT
VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT
VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT
VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT
VK_DYNAMIC_STATE_FRONT_FACE_EXT
VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT
VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT
VK_DYNAMIC_STATE_STENCIL_OP_EXT
VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT
VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXTExtendsVkDynamicState.static java.lang.StringVK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAMEThe extension name.static intVK_EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSIONThe extension specification version.static intVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXTExtendsVkStructureType.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidnvkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides)Unsafe version of:CmdBindVertexBuffers2EXTstatic voidnvkCmdSetScissorWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors)Unsafe version of:CmdSetScissorWithCountEXTstatic voidnvkCmdSetViewportWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports)Unsafe version of:CmdSetViewportWithCountEXTstatic voidvkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long[] pSizes, long[] pStrides)Array version of:CmdBindVertexBuffers2EXTstatic voidvkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, java.nio.LongBuffer pBuffers, java.nio.LongBuffer pOffsets, java.nio.LongBuffer pSizes, java.nio.LongBuffer pStrides)static voidvkCmdSetCullModeEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode)SeeCmdSetCullMode.static voidvkCmdSetDepthBoundsTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable)static voidvkCmdSetDepthCompareOpEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp)SeeCmdSetDepthCompareOp.static voidvkCmdSetDepthTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable)static voidvkCmdSetDepthWriteEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable)static voidvkCmdSetFrontFaceEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace)SeeCmdSetFrontFace.static voidvkCmdSetPrimitiveTopologyEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology)static voidvkCmdSetScissorWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors)static voidvkCmdSetStencilOpEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp)SeeCmdSetStencilOp.static voidvkCmdSetStencilTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable)static voidvkCmdSetViewportWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports)
-
-
-
Field Detail
-
VK_EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSION
The extension specification version.
-
VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT
ExtendsVkStructureType.
-
VK_DYNAMIC_STATE_CULL_MODE_EXT, VK_DYNAMIC_STATE_FRONT_FACE_EXT, VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT, VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT, VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT, VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT, VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT, VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT, VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT, VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT, VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT, VK_DYNAMIC_STATE_STENCIL_OP_EXT
ExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODE_EXTDYNAMIC_STATE_FRONT_FACE_EXTDYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXTDYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXTDYNAMIC_STATE_SCISSOR_WITH_COUNT_EXTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXTDYNAMIC_STATE_DEPTH_TEST_ENABLE_EXTDYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXTDYNAMIC_STATE_DEPTH_COMPARE_OP_EXTDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXTDYNAMIC_STATE_STENCIL_TEST_ENABLE_EXTDYNAMIC_STATE_STENCIL_OP_EXT
-
-
Method Detail
-
vkCmdSetCullModeEXT
public static void vkCmdSetCullModeEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode)SeeCmdSetCullMode.- Parameters:
commandBuffer- the command buffer into which the command will be recorded.cullMode- specifies the cull mode property to use for drawing.
-
vkCmdSetFrontFaceEXT
public static void vkCmdSetFrontFaceEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace)SeeCmdSetFrontFace.- Parameters:
commandBuffer- the command buffer into which the command will be recorded.frontFace- aVkFrontFacevalue specifying the front-facing triangle orientation to be used for culling.
-
vkCmdSetPrimitiveTopologyEXT
public static void vkCmdSetPrimitiveTopologyEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.primitiveTopology- specifies the primitive topology to use for drawing.
-
nvkCmdSetViewportWithCountEXT
public static void nvkCmdSetViewportWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports)Unsafe version of:CmdSetViewportWithCountEXT- Parameters:
viewportCount- specifies the viewport count.
-
vkCmdSetViewportWithCountEXT
public static void vkCmdSetViewportWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pViewports- specifies the viewports to use for drawing.
-
nvkCmdSetScissorWithCountEXT
public static void nvkCmdSetScissorWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors)Unsafe version of:CmdSetScissorWithCountEXT- Parameters:
scissorCount- specifies the scissor count.
-
vkCmdSetScissorWithCountEXT
public static void vkCmdSetScissorWithCountEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pScissors- specifies the scissors to use for drawing.
-
nvkCmdBindVertexBuffers2EXT
public static void nvkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides)Unsafe version of:CmdBindVertexBuffers2EXT- Parameters:
bindingCount- the number of vertex input bindings whose state is updated by the command.
-
vkCmdBindVertexBuffers2EXT
public static void vkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, java.nio.LongBuffer pBuffers, java.nio.LongBuffer pOffsets, @Nullable java.nio.LongBuffer pSizes, @Nullable java.nio.LongBuffer pStrides)- Parameters:
commandBuffer- the command buffer into which the command is recorded.firstBinding- the index of the first vertex input binding whose state is updated by the command.pBuffers- a pointer to an array of buffer handles.pOffsets- a pointer to an array of buffer offsets.pSizes-NULLor a pointer to an array of the size in bytes of vertex data bound frompBuffers.pStrides-NULLor a pointer to an array of buffer strides.
-
vkCmdSetDepthTestEnableEXT
public static void vkCmdSetDepthTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthTestEnable- specifies if the depth test is enabled.
-
vkCmdSetDepthWriteEnableEXT
public static void vkCmdSetDepthWriteEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthWriteEnable- specifies if depth writes are enabled.
-
vkCmdSetDepthCompareOpEXT
public static void vkCmdSetDepthCompareOpEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp)SeeCmdSetDepthCompareOp.- Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthCompareOp- specifies the depth comparison operator.
-
vkCmdSetDepthBoundsTestEnableEXT
public static void vkCmdSetDepthBoundsTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthBoundsTestEnable- specifies if the depth bounds test is enabled.
-
vkCmdSetStencilTestEnableEXT
public static void vkCmdSetStencilTestEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable)- Parameters:
commandBuffer- the command buffer into which the command will be recorded.stencilTestEnable- specifies if the stencil test is enabled.
-
vkCmdSetStencilOpEXT
public static void vkCmdSetStencilOpEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp)SeeCmdSetStencilOp.- Parameters:
commandBuffer- the command buffer into which the command will be recorded.faceMask- a bitmask ofVkStencilFaceFlagBitsspecifying the set of stencil state for which to update the stencil operation.failOp- aVkStencilOpvalue specifying the action performed on samples that fail the stencil test.passOp- aVkStencilOpvalue specifying the action performed on samples that pass both the depth and stencil tests.depthFailOp- aVkStencilOpvalue specifying the action performed on samples that pass the stencil test and fail the depth test.compareOp- aVkCompareOpvalue specifying the comparison operator used in the stencil test.
-
vkCmdBindVertexBuffers2EXT
public static void vkCmdBindVertexBuffers2EXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, @Nullable long[] pSizes, @Nullable long[] pStrides)Array version of:CmdBindVertexBuffers2EXT
-
-