Class VkIndirectCommandsIndexBufferTokenEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkIndirectCommandsIndexBufferTokenEXT>
org.lwjgl.vulkan.VkIndirectCommandsIndexBufferTokenEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkIndirectCommandsIndexBufferTokenEXT extends org.lwjgl.system.Struct<VkIndirectCommandsIndexBufferTokenEXT> implements org.lwjgl.system.NativeResource
Structure specifying layout token info for a single index buffer command token.
Description

This allows for easy layering of Vulkan atop other APIs. When INDIRECT_COMMANDS_INPUT_MODE_DXGI_INDEX_BUFFER_EXT is specified, the indirect buffer can contain a D3D12_INDEX_BUFFER_VIEW instead of VkBindIndexBufferIndirectCommandEXT as D3D’s DXGI format value is mapped to the VkIndexType. It works as both structs are otherwise binary compatible.

Valid Usage
Valid Usage (Implicit)
  • mode must be a valid VkIndirectCommandsInputModeFlagBitsEXT value
See Also

VkIndirectCommandsTokenDataEXT

Layout


 struct VkIndirectCommandsIndexBufferTokenEXT {
     VkIndirectCommandsInputModeFlagBitsEXT mode();
 }