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

46 lines
999 B
Plaintext

vkCmdUpdateBuffer(3)
=====================
Name
----
vkCmdUpdateBuffer - Update a buffer's contents from host memory.
C Specification
---------------
include::../protos/vkCmdUpdateBuffer.txt[]
Parameters
----------
pname:commandBuffer::
The command buffer into which the command is to be placed.
pname:dstBuffer::
The destination buffer.
pname:dstOffset::
The offset within pname:dstBuffer where the data is to be placed.
pname:dataSize::
The size, in bytes of the data to be tranferred into the buffer.
pname:pData::
A pointer to the data to be transferred into the buffer.
Description
-----------
fname:vkCmdUpdateBuffer updates the content of the buffer object specified in pname:dstBuffer
with the pname:dataSize bytes of host memory sourced from pname:pData. The data is placed at
the offset specified by pname:dstOffset into the buffer object.
include::../validity/protos/vkCmdUpdateBuffer.txt[]
See Also
--------
flink:vkCmdCopyBuffer
include::footer.txt[]