# VkIndirectCommandsTokenDataEXT(3) Manual Page

## Name

VkIndirectCommandsTokenDataEXT - Union specifying the token-specific details of an indirect command layout token

Loading… please wait.

## C Specification

The `VkIndirectCommandsTokenDataEXT` structure provides token-specific details used to generate the indirect execution layout.

    // Provided by VK_EXT_device_generated_commands
    typedef union VkIndirectCommandsTokenDataEXT {
        const VkIndirectCommandsPushConstantTokenEXT*    pPushConstant;
        const VkIndirectCommandsVertexBufferTokenEXT*    pVertexBuffer;
        const VkIndirectCommandsIndexBufferTokenEXT*     pIndexBuffer;
        const VkIndirectCommandsExecutionSetTokenEXT*    pExecutionSet;
    } VkIndirectCommandsTokenDataEXT;

## Members

- `pPushConstant` is a pointer to a VkIndirectCommandsPushConstantTokenEXT structure needed for `VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXT` and `VK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXT` tokens

- `pVertexBuffer` is a pointer to a VkIndirectCommandsVertexBufferTokenEXT structure needed for `VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXT` tokens

- `pIndexBuffer` is a pointer to a VkIndirectCommandsIndexBufferTokenEXT structure needed for `VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT` tokens

- `pExecutionSet` is a pointer to a VkIndirectCommandsExecutionSetTokenEXT structure needed for `VK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXT` tokens

## Description

The appropriate member of the union must be set for each token.

The following code provides detailed information on how an individual sequence is processed. For valid usage, all restrictions from the regular commands apply.

## See Also

VK_EXT_device_generated_commands, VkIndirectCommandsExecutionSetTokenEXT, VkIndirectCommandsIndexBufferTokenEXT, VkIndirectCommandsLayoutTokenEXT, VkIndirectCommandsPushConstantTokenEXT, VkIndirectCommandsVertexBufferTokenEXT

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

SPDX-License-Identifier: CC-BY-4.0