C Specification
The VkBindIndexBufferIndirectCommandNV
structure specifies the input
data for the VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV
token.
// Provided by VK_NV_device_generated_commands
typedef struct VkBindIndexBufferIndirectCommandNV {
VkDeviceAddress bufferAddress;
uint32_t size;
VkIndexType indexType;
} VkBindIndexBufferIndirectCommandNV;
Members
-
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. Instead of the Vulkan enum values, a customuint32_t
value can be mapped to an VkIndexType by specifying theVkIndirectCommandsLayoutTokenNV
::pIndexTypes
andVkIndirectCommandsLayoutTokenNV
::pIndexTypeValues
arrays.
See Also
VkDeviceAddress
, VkIndexType
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.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.