Enum

VkClusterAccelerationStructureIndexFormatFlagBitsNV

Bits specifying the index type in the index buffer

Bits that can be set in VkClusterAccelerationStructureBuildTriangleClusterInfoNV::indexType, VkClusterAccelerationStructureBuildTriangleClusterInfoNV::opacityMicromapIndexType, VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV::indexType and VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV::opacityMicromapIndexType specifying the index type is one of:

typedef enum VkClusterAccelerationStructureIndexFormatFlagBitsNV {
    VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_8BIT_NV = 0x00000001,
    VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_16BIT_NV = 0x00000002,
    VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_32BIT_NV = 0x00000004,
} VkClusterAccelerationStructureIndexFormatFlagBitsNV;
  • VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_8BIT_NV specifies that 8-bit indices will be used.
  • VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_16BIT_NV specifies that 16-bit indices will be used.
  • VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_32BIT_NV specifies that 32-bit indices will be used.