C Specification
To bind an address range as an index buffer to a command buffer, call:
// Provided by VK_KHR_device_address_commands
void vkCmdBindIndexBuffer3KHR(
VkCommandBuffer commandBuffer,
const VkBindIndexBuffer3InfoKHR* pInfo);
Parameters
-
commandBufferis the command buffer into which the command is recorded. -
pInfois a pointer to a VkBindIndexBuffer3InfoKHR structure defining parameters of this command.
Description
The bound index buffer range is set to the range of
memory indicated by pInfo->addressRange.
If the nullDescriptor feature is enabled,
pInfo->addressRange.size and pInfo->addressRange.address can be 0.
When the size and address are 0, every index read from this binding will
return a value of zero.
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.