# VkIndexType(3) Manual Page

## Name

VkIndexType - Type of index buffer indices

## C Specification

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

    typedef enum VkIndexType {
        VK_INDEX_TYPE_UINT16 = 0,
        VK_INDEX_TYPE_UINT32 = 1,
        VK_INDEX_TYPE_NONE_KHR = 1000165000,
        VK_INDEX_TYPE_UINT8_EXT = 1000265000,
        VK_INDEX_TYPE_NONE_NV = VK_INDEX_TYPE_NONE_KHR,
        VK_INDEX_TYPE_MAX_ENUM = 0x7FFFFFFF
    } 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_EXT` specifies that indices are 8-bit unsigned integer values.

## See Also

VkAccelerationStructureCreateGeometryTypeInfoKHR, VkAccelerationStructureGeometryTrianglesDataKHR, VkBindIndexBufferIndirectCommandNV, VkGeometryTrianglesNV, VkIndirectCommandsLayoutTokenNV, vkCmdBindIndexBuffer

## 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.