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
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to an extension-specific structure. -
objectTable
is 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. -
indirectCommandsLayout
is the VkIndirectCommandsLayoutNVX that provides the command sequence to generate. -
indirectCommandsTokenCount
defines the number of input tokens used. -
pIndirectCommandsTokens
provides an array of VkIndirectCommandsTokenNVX that reference the input data for each token command. -
maxSequencesCount
is the maximum number of sequences for which command buffer space will be reserved. IfsequencesCountBuffer
is VK_NULL_HANDLE, this is also the actual number of sequences generated. -
targetCommandBuffer
can be the secondary VkCommandBuffer in which the commands should be recorded. IftargetCommandBuffer
isNULL
an implicit reservation as well as execution takes place on the processingVkCommandBuffer
. -
sequencesCountBuffer
can be VkBuffer from which the actual amount of sequences is sourced from asuint32_t
value. -
sequencesCountOffset
is the byte offset intosequencesCountBuffer
where the count value is stored. -
sequencesIndexBuffer
must be set ifindirectCommandsLayout
’sVK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX
is set and provides the used sequence indices asuint32_t
array. Otherwise it must be VK_NULL_HANDLE. -
sequencesIndexOffset
is the byte offset intosequencesIndexBuffer
where 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.