Structures
VkBindIndexBufferIndirectCommandEXT
Structure specifying input data for a single index buffer command token
The VkBindIndexBufferIndirectCommandEXT
structure specifies the input
data for the VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT
token.
typedef struct VkBindIndexBufferIndirectCommandEXT {
VkDeviceAddress bufferAddress;
uint32_t size;
VkIndexType indexType;
} VkBindIndexBufferIndirectCommandEXT;
bufferAddress
specifies a physical address of the VkBuffer used as index buffer.size
is the byte size range which is available for this operation from the provided address.indexType
is a VkIndexType value specifying how indices are treated.
Valid Usage
VUID-VkBindIndexBufferIndirectCommandEXT-None-11117
The buffer’s usage flags from which the address was acquired must have
the VK_BUFFER_USAGE_INDEX_BUFFER_BIT
bit set
VUID-VkBindIndexBufferIndirectCommandEXT-bufferAddress-11118
The bufferAddress
must be aligned to the VkIndexType of the
indexType
used
VUID-VkBindIndexBufferIndirectCommandEXT-None-11119
Each element of the buffer from which the address was acquired and that
is non-sparse must be bound completely and contiguously to a single
VkDeviceMemory
object
Valid Usage (Implicit)
VUID-VkBindIndexBufferIndirectCommandEXT-indexType-parameter
indexType
must be a valid VkIndexType value