Transform feedback for specific transform feedback buffers is made inactive by calling:
// Provided by VK_EXT_transform_feedback
const VkBuffer* pCounterBuffers,
const VkDeviceSize* pCounterBufferOffsets);
commandBufferis the command buffer into which the command is recorded.
firstCounterBufferis the index of the first transform feedback buffer corresponding to
counterBufferCountis the size of the
NULLor a pointer to an array of VkBuffer handles to counter buffers. The counter buffers are used to record the current byte positions of each transform feedback buffer where the next vertex output data would be captured. This can be used by a subsequent vkCmdBeginTransformFeedbackEXT call to resume transform feedback capture from this position. It can also be used by vkCmdDrawIndirectByteCountEXT to determine the vertex count of the draw call.
NULLor a pointer to an array of VkDeviceSize values specifying offsets within each of the
pCounterBufferswhere the counter values can be written. The location in each counter buffer at these offsets must be large enough to contain 4 bytes of data. The data stored at this location is the byte offset from the start of the transform feedback buffer binding where the next vertex data would be written. If
NULL, then it is assumed the offsets are zero.
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.