C Specification
typedef struct VkCmdProcessCommandsInfoNVX {
VkStructureType sType;
const void* pNext;
VkObjectTableNVX objectTable;
VkIndirectCommandsLayoutNVX indirectCommandsLayout;
uint32_t indirectCommandsTokenCount;
const VkIndirectCommandsTokenNVX* pIndirectCommandsTokens;
uint32_t maxSequencesCount;
VkCommandBuffer targetCommandBuffer;
VkBuffer sequencesCountBuffer;
VkDeviceSize sequencesCountOffset;
VkBuffer sequencesIndexBuffer;
VkDeviceSize sequencesIndexOffset;
} VkCmdProcessCommandsInfoNVX;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to an extension-specific structure. -
objectTableis the VkObjectTableNVX to be used for the generation process. Only registered objects at the time vkCmdReserveSpaceForCommandsNVX is called, will be taken into account for the reservation. -
indirectCommandsLayoutis the VkIndirectCommandsLayoutNVX that provides the command sequence to generate. -
indirectCommandsTokenCountdefines the number of input tokens used. -
pIndirectCommandsTokensprovides an array of VkIndirectCommandsTokenNVX that reference the input data for each token command. -
maxSequencesCountis the maximum number of sequences for which command buffer space will be reserved. IfsequencesCountBufferis VK_NULL_HANDLE, this is also the actual number of sequences generated. -
targetCommandBuffercan be the secondary VkCommandBuffer in which the commands should be recorded. IftargetCommandBufferisNULLan implicit reservation as well as execution takes place on the processingVkCommandBuffer. -
sequencesCountBuffercan be VkBuffer from which the actual amount of sequences is sourced from asuint32_tvalue. -
sequencesCountOffsetis the byte offset intosequencesCountBufferwhere the count value is stored. -
sequencesIndexBuffermust be set ifindirectCommandsLayout’sVK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVXis set and provides the used sequence indices asuint32_tarray. Otherwise it must be VK_NULL_HANDLE. -
sequencesIndexOffsetis the byte offset intosequencesIndexBufferwhere the index values start.
Description
See Also
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.