C Specification
Transform feedback for specific transform feedback buffers is made inactive by calling:
// Provided by VK_KHR_device_address_commands with VK_EXT_transform_feedback
void vkCmdEndTransformFeedback2EXT(
VkCommandBuffer commandBuffer,
uint32_t firstCounterRange,
uint32_t counterRangeCount,
const VkBindTransformFeedbackBuffer2InfoEXT* pCounterInfos);
Parameters
-
commandBufferis the command buffer into which the command is recorded. -
firstCounterBufferis the index of the first transform feedback buffer corresponding topCounterInfos[0]. -
counterRangeCountis the size of thepCounterInfosarray. -
pCounterInfosisNULLor a pointer to an array of VkBindTransformFeedbackBuffer2InfoEXT structures defining memory ranges used to write counters used to later resume transform feedback.
Description
If pCounterInfos is NULL, it is equivalent to an array of
VkBindTransformFeedbackBuffer2InfoEXT structures with each element
having a addressRange.size of 0.
If the addressRange.size of an element of pCounterInfos at index
i is 0, no data is written to the address range.
If the addressRange.size of an element of pCounterInfos at index
i is not 0, the byte offset, where the next vertex data would be
written to in the transform feedback buffer at a binding equal to the sum of
i and firstCounterBuffer, is written to that range’s
address.
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.