# VkIndirectCommandsLayoutPushDataTokenNV(3) Manual Page

## Name

VkIndirectCommandsLayoutPushDataTokenNV - Struct specifying the details of an indirect push data command layout token

Loading… please wait.

## C Specification

The `VkIndirectCommandsLayoutTokenNV` structure specifies details to the function arguments that need to be known at layout creation time:

    // Provided by VK_EXT_descriptor_heap with VK_NV_device_generated_commands
    typedef struct VkIndirectCommandsLayoutPushDataTokenNV {
        VkStructureType    sType;
        const void*        pNext;
        uint32_t           pushDataOffset;
        uint32_t           pushDataSize;
    } VkIndirectCommandsLayoutPushDataTokenNV;

## Members

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

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

- `pushDataOffset` is the offset used for the push data command.

- `pushDataSize` is the size used for the push data command.

## Description

If this structure is in the `pNext` chain of VkIndirectCommandsLayoutTokenNV, and VkIndirectCommandsLayoutTokenNV::`tokenType` is set to VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_NV, this structure defines a push data command layout token.

If this structure is not provided, it is equivalent to setting `pushDataOffset` and `pushDataSize` to 0.

Valid Usage

- VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataOffset-11335
  The sum of `pushDataOffset` and `pushDataSize` must be less than `maxPushDataSize`

- VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataOffset-11420
  `pushDataOffset` must be a multiple of 4

- VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataSize-11421
  `pushDataSize` must be a multiple of 4

Valid Usage (Implicit)

- VUID-VkIndirectCommandsLayoutPushDataTokenNV-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_PUSH_DATA_TOKEN_NV

Structure Chaining

Extends the structure

  - VkIndirectCommandsLayoutTokenNV

## See Also

VK_EXT_descriptor_heap, VK_NV_device_generated_commands, 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-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0