# VkBindIndexBufferIndirectCommandEXT(3) Manual Page

## Name

VkBindIndexBufferIndirectCommandEXT - Structure specifying input data for a single index buffer command token

Loading… please wait.

## C Specification

The `VkBindIndexBufferIndirectCommandEXT` structure specifies the input data for the `VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT` token.

    // Provided by VK_EXT_device_generated_commands
    typedef struct VkBindIndexBufferIndirectCommandEXT {
        VkDeviceAddress    bufferAddress;
        uint32_t           size;
        VkIndexType        indexType;
    } VkBindIndexBufferIndirectCommandEXT;

## Members

- `bufferAddress` specifies a physical address of the VkBuffer used as index buffer.

- `size` is the byte size range which is available for this operation from the provided address.

- `indexType` is a VkIndexType value specifying how indices are treated.

## Description

Valid Usage

- VUID-VkBindIndexBufferIndirectCommandEXT-None-11117
  The buffer’s usage flags from which the address was acquired must have the `VK_BUFFER_USAGE_INDEX_BUFFER_BIT` bit set

- VUID-VkBindIndexBufferIndirectCommandEXT-bufferAddress-11118
  The `bufferAddress` must be aligned to the VkIndexType of the `indexType` used

- VUID-VkBindIndexBufferIndirectCommandEXT-None-11119
  Each element of the buffer from which the address was acquired and that is non-sparse must be bound completely and contiguously to a single `VkDeviceMemory` object

Valid Usage (Implicit)

- VUID-VkBindIndexBufferIndirectCommandEXT-indexType-parameter
  `indexType` must be a valid VkIndexType value

## See Also

VK_EXT_device_generated_commands, VkDeviceAddress, VkIndexType

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