Class EXTExtendedDynamicState


  • public class EXTExtendedDynamicState
    extends java.lang.Object
    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
    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
    • Jason Ekstrand, Intel
    • Jeff Bolz, NVIDIA
    • Jesse Hall, Google
    • Philip Rebohle, Valve Corporation
    • Stuart Smith, Imagination Technologies
    • Tobias Hector, AMD
    • Method Detail

      • vkCmdSetCullModeEXT

        public static void vkCmdSetCullModeEXT​(org.lwjgl.vulkan.VkCommandBuffer commandBuffer,
                                               int cullMode)
        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)
        Parameters:
        commandBuffer - the command buffer into which the command will be recorded.
        frontFace - a VkFrontFace value 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 - NULL or a pointer to an array of the size in bytes of vertex data bound from pBuffers.
        pStrides - NULL or 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)
        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)
        Parameters:
        commandBuffer - the command buffer into which the command will be recorded.
        faceMask - a bitmask of VkStencilFaceFlagBits specifying the set of stencil state for which to update the stencil operation.
        failOp - a VkStencilOp value specifying the action performed on samples that fail the stencil test.
        passOp - a VkStencilOp value specifying the action performed on samples that pass both the depth and stencil tests.
        depthFailOp - a VkStencilOp value specifying the action performed on samples that pass the stencil test and fail the depth test.
        compareOp - a VkCompareOp value 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