Class NVCommandBufferInheritance

java.lang.Object
org.lwjgl.vulkan.NVCommandBufferInheritance

public final class NVCommandBufferInheritance extends Object
This extension allows applications to take advantage of the graphics and compute state that remains valid in the queue between executions of submitted command buffers. This works across both primary and secondary command buffers.

The state inherited includes the previously bound pipeline state, previously bound shader objects, previously bound vertex and index buffers, previously bound descriptor sets and push constants, and all previously set dynamic state.

This extension relaxes the requirement that all that state needs to be bound and set after begin command buffer and before the next draw or dispatch.

By not having to set state that has been inherited applications can save both CPU and GPU cycles by not having to set state redundantly, and also have improved flexibility when reusing secondary command buffers.

Name String
VK_NV_command_buffer_inheritance
Extension Type
Device extension
Registered Extension Number
560
Revision
1
Contact
Other Extension Metadata
Last Modified Date
2024-02-15
IP Status
No known IP claims.
Contributors
  • Piers Daniell, NVIDIA
  • Daniel Story, Nintendo
  • Field Details

    • VK_NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION

      public static final int VK_NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME

      public static final String VK_NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME
      The extension name.
      See Also:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV

      public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV
      Extends VkStructureType.
      See Also: