Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/04_Vertex_buffers/02_Staging_buffer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ It's good practice to tell the driver about our intent using `vk::CommandBufferU
commandCopyBuffer.copyBuffer(*srcBuffer, *dstBuffer, vk::BufferCopy(0, 0, size));
----

Contents of buffers are transferred using the `vk:raii::CommandBuffer::copyBuffer` command.
Contents of buffers are transferred using the `vk::raii::CommandBuffer::copyBuffer` command.
It takes the source and destination buffers as arguments, and an array of regions to copy.
The regions are defined in `vk::BufferCopy` structs and consist of a source buffer offset, destination buffer offset and size.
It is not possible to specify `vk::WholeSize` here, unlike the `vk::raii::DeviceMemory::mapMemory` command.
Expand Down
Loading