cmdSetDescriptorBufferOffsets2EXT :: (Extendss SetDescriptorBufferOffsetsInfoEXT a, PokeChain a, MonadIO io)=> CommandBuffercommandBufferis the command buffer in which the descriptor buffer offsets will be set.-> SetDescriptorBufferOffsetsInfoEXT apSetDescriptorBufferOffsetsInfois a pointer to a SetDescriptorBufferOffsetsInfoEXT structure.-> io ()
vkCmdSetDescriptorBufferOffsets2EXT - Setting descriptor buffer offsets in a command buffer
Valid Usage
If
commandBufferis a secondary command buffer, it must have begun with CommandBufferInheritanceDescriptorHeapInfoEXT::pSamplerHeapBindInfoequal toNULL
If
commandBufferis a secondary command buffer, it must have begun with CommandBufferInheritanceDescriptorHeapInfoEXT::pResourceHeapBindInfoequal toNULLThe descriptorBuffer feature must be enabled
Each bit in
pSetDescriptorBufferOffsetsInfo->stageFlagsmust be a stage supported by thecommandBuffer’s parent CommandPool’s queue family
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
pSetDescriptorBufferOffsetsInfomust be a valid pointer to a valid SetDescriptorBufferOffsetsInfoEXT structurecommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_COMPUTE_BIT, QUEUE_DATA_GRAPH_BIT_ARM, or QUEUE_GRAPHICS_BIT operationsThis command must only be called outside of a video coding scope
Host Synchronization
Host access to
commandBuffermust be externally synchronized
Host access to the CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Both | Outside | VK_QUEUE_COMPUTE_BIT VK_QUEUE_DATA_GRAPH_BIT_ARM VK_QUEUE_GRAPHICS_BIT | State |
Conditional Rendering
vkCmdSetDescriptorBufferOffsets2EXT is not affected by conditional rendering
See Also
VK_EXT_descriptor_buffer, VK_KHR_maintenance6, CommandBuffer, SetDescriptorBufferOffsetsInfoEXT