Enum

VkIndexType

Type of index buffer indices

Possible values of vkCmdBindIndexBuffer2KHR::indexType and vkCmdBindIndexBuffer::indexType, specifying the size of indices, are:

typedef enum VkIndexType {
    VK_INDEX_TYPE_UINT16 = 0,
    VK_INDEX_TYPE_UINT32 = 1,
} VkIndexType;
  • VK_INDEX_TYPE_UINT16 specifies that indices are 16-bit unsigned integer values.
  • VK_INDEX_TYPE_UINT32 specifies that indices are 32-bit unsigned integer values.
  • VK_INDEX_TYPE_NONE_KHR specifies that no indices are provided.
  • VK_INDEX_TYPE_UINT8_KHR specifies that indices are 8-bit unsigned integer values.