C Specification
The VkIndirectCommandsIndexBufferTokenEXT
structure specifies the
layout token info for the
VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT
token.
// Provided by VK_EXT_device_generated_commands
typedef struct VkIndirectCommandsIndexBufferTokenEXT {
VkIndirectCommandsInputModeFlagBitsEXT mode;
} VkIndirectCommandsIndexBufferTokenEXT;
Description
This allows for easy layering of Vulkan atop other APIs.
When VK_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.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.