VkIndirectCommandsTokenNVX(3)

# VkIndirectCommandsTokenNVX(3) Manual Page

## Name

VkIndirectCommandsTokenNVX - Structure specifying parameters for the reservation of command buffer space

## C Specification

The `VkIndirectCommandsTokenNVX` structure specifies the input data for a token at processing time.

    typedef struct VkIndirectCommandsTokenNVX {
        VkIndirectCommandsTokenTypeNVX    tokenType;
        VkBuffer                          buffer;
        VkDeviceSize                      offset;
    } VkIndirectCommandsTokenNVX;

## Members

- `tokenType` specifies the token command type.

- `buffer` specifies the VkBuffer storing the functional arguments for each squence. These argumetns can be written by the device.

- `offset` specified an offset into `buffer` where the arguments start.

## Description

Valid Usage

- The `buffer`’s usage flag must have the `VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT` bit set.

- The `offset` must be aligned to `VkDeviceGeneratedCommandsLimitsNVX`::`minCommandsTokenBufferOffsetAlignment`.

Valid Usage (Implicit)

- `tokenType` must be a valid VkIndirectCommandsTokenTypeNVX value

- `buffer` must be a valid VkBuffer handle

## See Also

VkBuffer, VkCmdProcessCommandsInfoNVX, `VkDeviceSize`, VkIndirectCommandsTokenTypeNVX

## 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-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.