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
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
pushDataOffsetis the offset used for the push data command. -
pushDataSizeis 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.
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.