Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class EXTExtendedDynamicState

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

This 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
VK_KHR_get_physical_device_properties2 or Version 1.1
Deprecation state
Contact
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
  • Faith Ekstrand, Intel
  • Jeff Bolz, NVIDIA
  • Jesse Hall, Google
  • Philip Rebohle, Valve Corporation
  • Stuart Smith, Imagination Technologies
  • Tobias Hector, AMD

Field Summary

Modifier and TypeField and Description
public static final int
VK_DYNAMIC_STATE_CULL_MODE_EXT

Extends VkDynamicState.

public static final int
public static final int
public static final int
public static final int
public static final int
VK_DYNAMIC_STATE_FRONT_FACE_EXT

Extends VkDynamicState.

public static final int
public static final int
public static final int
VK_DYNAMIC_STATE_STENCIL_OP_EXT

Extends VkDynamicState.

public static final int
public static final int
public static final int
public static final String
public static final int
VK_EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSION

The extension specification version.

public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
nvkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, int firstBinding, int
the number of vertex input bindings whose state is updated by the command.
bindingCount
,
long pBuffers, long pOffsets, long pSizes, long pStrides)

Unsafe version of: CmdBindVertexBuffers2EXT

public static void
nvkCmdSetScissorWithCountEXT(VkCommandBuffer commandBuffer, int
specifies the scissor count.
scissorCount
,
long pScissors)

Unsafe version of: CmdSetScissorWithCountEXT

public static void
nvkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, int
specifies the viewport count.
viewportCount
,
long pViewports)

Unsafe version of: CmdSetViewportWithCountEXT

public static void
vkCmdBindVertexBuffers2EXT(VkCommandBuffer
the command buffer into which the command is recorded.
commandBuffer
,
int
the index of the first vertex input binding whose state is updated by the command.
firstBinding
,
LongBuffer
a pointer to an array of buffer handles.
pBuffers
,
LongBuffer
a pointer to an array of buffer offsets.
pOffsets
,
LongBuffer
NULL or a pointer to an array of the size in bytes of vertex data bound from pBuffers.
pSizes
,
LongBuffer
NULL or a pointer to an array of buffer strides.
pStrides
)

See CmdBindVertexBuffers2.

public static void
vkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long[] pSizes, long[] pStrides)

Array version of: CmdBindVertexBuffers2EXT

public static void
vkCmdSetCullModeEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
specifies the cull mode property to use for drawing.
cullMode
)

See CmdSetCullMode.

public static void
vkCmdSetDepthBoundsTestEnableEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
boolean
specifies if the depth bounds test is enabled.
depthBoundsTestEnable
)

See CmdSetDepthBoundsTestEnable.

public static void
vkCmdSetDepthCompareOpEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
a VkCompareOp value specifying the comparison operator used for the Depth Comparison step of the depth test.
depthCompareOp
)

See CmdSetDepthCompareOp.

public static void
vkCmdSetDepthTestEnableEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
boolean
specifies if the depth test is enabled.
depthTestEnable
)

See CmdSetDepthTestEnable.

public static void
vkCmdSetDepthWriteEnableEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
boolean
specifies if depth writes are enabled.
depthWriteEnable
)

See CmdSetDepthWriteEnable.

public static void
vkCmdSetFrontFaceEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
a VkFrontFace value specifying the front-facing triangle orientation to be used for culling.
frontFace
)

See CmdSetFrontFace.

public static void
vkCmdSetPrimitiveTopologyEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
specifies the primitive topology to use for drawing.
primitiveTopology
)

See CmdSetPrimitiveTopology.

public static void
vkCmdSetScissorWithCountEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
VkRect2D.Buffer
specifies the scissors to use for drawing.
pScissors
)

See CmdSetScissorWithCount.

public static void
vkCmdSetStencilOpEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
a bitmask of VkStencilFaceFlagBits specifying the set of stencil state for which to update the stencil operation.
faceMask
,
int
a VkStencilOp value specifying the action performed on samples that fail the stencil test.
failOp
,
int
a VkStencilOp value specifying the action performed on samples that pass both the depth and stencil tests.
passOp
,
int
a VkStencilOp value specifying the action performed on samples that pass the stencil test and fail the depth test.
depthFailOp
,
int
a VkCompareOp value specifying the comparison operator used in the stencil test.
compareOp
)

See CmdSetStencilOp.

public static void
vkCmdSetStencilTestEnableEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
boolean
specifies if the stencil test is enabled.
stencilTestEnable
)

See CmdSetStencilTestEnable.

public static void
vkCmdSetViewportWithCountEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
VkViewport.Buffer
specifies the viewports to use for drawing.
pViewports
)

See CmdSetViewportWithCount.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_DYNAMIC_STATE_CULL_MODE_EXTback to summary
public static final int VK_DYNAMIC_STATE_CULL_MODE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXTback to summary
public static final int VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXTback to summary
public static final int VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXTback to summary
public static final int VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXTback to summary
public static final int VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_FRONT_FACE_EXTback to summary
public static final int VK_DYNAMIC_STATE_FRONT_FACE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXTback to summary
public static final int VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXTback to summary
public static final int VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_STENCIL_OP_EXTback to summary
public static final int VK_DYNAMIC_STATE_STENCIL_OP_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXTback to summary
public static final int VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXTback to summary
public static final int VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT

Extends VkDynamicState.

Enum values:
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXTback to summary
public static final int VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT

Extends VkDynamicState.

Enum values:
VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAMEback to summary
public static final String VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME

The extension name.

VK_EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSIONback to summary
public static final int VK_EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT

Extends VkStructureType.

Constructor Detail

EXTExtendedDynamicStateback to summary
protected EXTExtendedDynamicState()

Method Detail

nvkCmdBindVertexBuffers2EXTback to summary
public static void nvkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides)

Unsafe version of: CmdBindVertexBuffers2EXT

Parameters
bindingCount:int

the number of vertex input bindings whose state is updated by the command.

nvkCmdSetScissorWithCountEXTback to summary
public static void nvkCmdSetScissorWithCountEXT(VkCommandBuffer commandBuffer, int scissorCount, long pScissors)

Unsafe version of: CmdSetScissorWithCountEXT

Parameters
scissorCount:int

specifies the scissor count.

nvkCmdSetViewportWithCountEXTback to summary
public static void nvkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, int viewportCount, long pViewports)

Unsafe version of: CmdSetViewportWithCountEXT

Parameters
viewportCount:int

specifies the viewport count.

vkCmdBindVertexBuffers2EXTback to summary
public static void vkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, int firstBinding, LongBuffer pBuffers, LongBuffer pOffsets, LongBuffer pSizes, LongBuffer pStrides)

See CmdBindVertexBuffers2.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command is recorded.

firstBinding:int

the index of the first vertex input binding whose state is updated by the command.

pBuffers:LongBuffer

a pointer to an array of buffer handles.

pOffsets:LongBuffer

a pointer to an array of buffer offsets.

pSizes:LongBuffer

NULL or a pointer to an array of the size in bytes of vertex data bound from pBuffers.

pStrides:LongBuffer

NULL or a pointer to an array of buffer strides.

vkCmdBindVertexBuffers2EXTback to summary
public static void vkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long[] pSizes, long[] pStrides)

Array version of: CmdBindVertexBuffers2EXT

vkCmdSetCullModeEXTback to summary
public static void vkCmdSetCullModeEXT(VkCommandBuffer commandBuffer, int cullMode)

See CmdSetCullMode.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

cullMode:int

specifies the cull mode property to use for drawing.

vkCmdSetDepthBoundsTestEnableEXTback to summary
public static void vkCmdSetDepthBoundsTestEnableEXT(VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable)

See CmdSetDepthBoundsTestEnable.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

depthBoundsTestEnable:boolean

specifies if the depth bounds test is enabled.

vkCmdSetDepthCompareOpEXTback to summary
public static void vkCmdSetDepthCompareOpEXT(VkCommandBuffer commandBuffer, int depthCompareOp)

See CmdSetDepthCompareOp.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

depthCompareOp:int

a VkCompareOp value specifying the comparison operator used for the Depth Comparison step of the depth test.

vkCmdSetDepthTestEnableEXTback to summary
public static void vkCmdSetDepthTestEnableEXT(VkCommandBuffer commandBuffer, boolean depthTestEnable)

See CmdSetDepthTestEnable.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

depthTestEnable:boolean

specifies if the depth test is enabled.

vkCmdSetDepthWriteEnableEXTback to summary
public static void vkCmdSetDepthWriteEnableEXT(VkCommandBuffer commandBuffer, boolean depthWriteEnable)

See CmdSetDepthWriteEnable.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

depthWriteEnable:boolean

specifies if depth writes are enabled.

vkCmdSetFrontFaceEXTback to summary
public static void vkCmdSetFrontFaceEXT(VkCommandBuffer commandBuffer, int frontFace)

See CmdSetFrontFace.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

frontFace:int

a VkFrontFace value specifying the front-facing triangle orientation to be used for culling.

vkCmdSetPrimitiveTopologyEXTback to summary
public static void vkCmdSetPrimitiveTopologyEXT(VkCommandBuffer commandBuffer, int primitiveTopology)

See CmdSetPrimitiveTopology.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

primitiveTopology:int

specifies the primitive topology to use for drawing.

vkCmdSetScissorWithCountEXTback to summary
public static void vkCmdSetScissorWithCountEXT(VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors)

See CmdSetScissorWithCount.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

pScissors:VkRect2D.Buffer

specifies the scissors to use for drawing.

vkCmdSetStencilOpEXTback to summary
public static void vkCmdSetStencilOpEXT(VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp)

See CmdSetStencilOp.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

faceMask:int

a bitmask of VkStencilFaceFlagBits specifying the set of stencil state for which to update the stencil operation.

failOp:int

a VkStencilOp value specifying the action performed on samples that fail the stencil test.

passOp:int

a VkStencilOp value specifying the action performed on samples that pass both the depth and stencil tests.

depthFailOp:int

a VkStencilOp value specifying the action performed on samples that pass the stencil test and fail the depth test.

compareOp:int

a VkCompareOp value specifying the comparison operator used in the stencil test.

vkCmdSetStencilTestEnableEXTback to summary
public static void vkCmdSetStencilTestEnableEXT(VkCommandBuffer commandBuffer, boolean stencilTestEnable)

See CmdSetStencilTestEnable.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

stencilTestEnable:boolean

specifies if the stencil test is enabled.

vkCmdSetViewportWithCountEXTback to summary
public static void vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports)

See CmdSetViewportWithCount.

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

pViewports:VkViewport.Buffer

specifies the viewports to use for drawing.