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;
pub struct BindIndexBufferIndirectCommandEXT {
buffer_address: vk::DeviceAddress,
size: u32,
index_type: vk::IndexType,
}
bufferAddressspecifies a physical address of the VkBuffer used as index buffer.sizeis the byte size range which is available for this operation from the provided address.indexTypeis 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
Valid Usage (Implicit)
VUID-VkBindIndexBufferIndirectCommandEXT-bufferAddress-parameter
bufferAddress must be a valid VkDeviceAddress value
VUID-VkBindIndexBufferIndirectCommandEXT-indexType-parameter
indexType must be a valid VkIndexType value
Type
Structures