Vulkan-Docs/doc/specs/vulkan/man/vkCmdFillBuffer.txt

48 lines
1.1 KiB
Plaintext

vkCmdFillBuffer(3)
===================
Name
----
vkCmdFillBuffer - Fill a region of a buffer with a fixed value.
C Specification
---------------
include::../protos/vkCmdFillBuffer.txt[]
Parameters
----------
pname:commandBuffer::
The command buffer upon which to execute the command.
pname:dstBuffer::
The destination buffer.
pname:dstOffset::
The offset in the buffer at which to begin filling.
pname:size::
The size of the region to be filled, in bytes.
pname:data::
The data with which to fill the buffer region.
Description
-----------
fname:vkCmdFillBuffer fills a region of a buffer object with the fixed, 32-bit pattern
specified in pname:data. The command is executed in pname:commandBuffer. pname:dstBuffer specifies
the destination buffer object, pname:dstOffset specifies the offset within the buffer
at which to begin filling and pname:size specifies the size of the region to be filled,
in bytes. pname:dstOffset and pname:size must be multiples of four bytes.
include::../validity/protos/vkCmdFillBuffer.txt[]
See Also
--------
flink:vkCreateBuffer, flink:vkCreateBufferView
include::footer.txt[]