# VkIndexType(3) Manual Page

## Name

VkIndexType - Type of index buffer indices

Loading… please wait.

## C Specification

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

    // Provided by VK_VERSION_1_0
    typedef enum VkIndexType {
        VK_INDEX_TYPE_UINT16 = 0,
        VK_INDEX_TYPE_UINT32 = 1,
      // Provided by VK_VERSION_1_4
        VK_INDEX_TYPE_UINT8 = 1000265000,
      // Provided by VK_KHR_acceleration_structure
        VK_INDEX_TYPE_NONE_KHR = 1000165000,
      // Provided by VK_NV_ray_tracing
        VK_INDEX_TYPE_NONE_NV = VK_INDEX_TYPE_NONE_KHR,
      // Provided by VK_EXT_index_type_uint8
        VK_INDEX_TYPE_UINT8_EXT = VK_INDEX_TYPE_UINT8,
      // Provided by VK_KHR_index_type_uint8
        VK_INDEX_TYPE_UINT8_KHR = VK_INDEX_TYPE_UINT8,
    } VkIndexType;

## Description

- `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` specifies that indices are 8-bit unsigned integer values.

## See Also

VK_VERSION_1_0, VkAccelerationStructureGeometryTrianglesDataKHR, VkAccelerationStructureTrianglesDisplacementMicromapNV, VkAccelerationStructureTrianglesOpacityMicromapEXT, VkBindIndexBufferIndirectCommandEXT, VkBindIndexBufferIndirectCommandNV, VkGeometryTrianglesNV, VkIndirectCommandsLayoutTokenNV, vkCmdBindIndexBuffer, vkCmdBindIndexBuffer2, vkCmdBindIndexBuffer2KHR

## 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 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0