To bind transform feedback buffers to a command buffer for use in subsequent draw commands, call:
void vkCmdBindTransformFeedbackBuffersEXT( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes);
commandBufferis the command buffer into which the command is recorded.
firstBindingis the index of the first transform feedback binding whose state is updated by the command.
bindingCountis the number of transform feedback bindings whose state is updated by the command.
pBuffersis a pointer to an array of buffer handles.
pOffsetsis a pointer to an array of buffer offsets.
pSizesis an optional array of buffer sizes, specifying the maximum number of bytes to capture to the corresponding transform feedback buffer. If
NULL, or the value of the
pSizesarray element is
VK_WHOLE_SIZE, then the maximum bytes captured will be the size of the corresponding buffer minus the buffer offset.
The values taken from elements i of
pSizes replace the current state for the transform feedback binding
firstBinding + i, for i in [0,
The transform feedback binding is updated to start at the offset indicated
pOffsets[i] from the start of the buffer
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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.