VkPhysicalDeviceIndexTypeUint8FeaturesKHR(3)

# VkPhysicalDeviceIndexTypeUint8FeaturesKHR(3) Manual Page

## Name

VkPhysicalDeviceIndexTypeUint8FeaturesKHR - Structure describing whether uint8 index type can be used

Loading… please wait.

## C Specification

The `VkPhysicalDeviceIndexTypeUint8FeaturesKHR` structure is defined as:

    // Provided by VK_KHR_index_type_uint8
    typedef struct VkPhysicalDeviceIndexTypeUint8FeaturesKHR {
        VkStructureType    sType;
        void*              pNext;
        VkBool32           indexTypeUint8;
    } VkPhysicalDeviceIndexTypeUint8FeaturesKHR;

or the equivalent

    // Provided by VK_EXT_index_type_uint8
    typedef VkPhysicalDeviceIndexTypeUint8FeaturesKHR VkPhysicalDeviceIndexTypeUint8FeaturesEXT;

## Members

This structure describes the following feature:

## Description

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `indexTypeUint8` indicates that `VK_INDEX_TYPE_UINT8_KHR` can be used with vkCmdBindIndexBuffer2KHR and vkCmdBindIndexBuffer.

If the `VkPhysicalDeviceIndexTypeUint8FeaturesKHR` structure is included in the `pNext` chain of the VkPhysicalDeviceFeatures2 structure passed to vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. `VkPhysicalDeviceIndexTypeUint8FeaturesKHR` can also be used in the `pNext` chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

- VUID-VkPhysicalDeviceIndexTypeUint8FeaturesKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR`

## See Also

VK_EXT_index_type_uint8, VK_KHR_index_type_uint8, VkBool32, VkStructureType

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