 |
VulkanDeviceCopyBuffer Method |
CopyBuffer copies the sourceBuffer to the destinationBuffer
and waits for the copy operation to finish.
When size is not defined (is zero), then size of the smaller buffer is used.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void CopyBuffer(
GpuBuffer sourceBuffer,
GpuBuffer destinationBuffer,
int size = 0,
int sourceOffset = 0,
int destinationOffset = 0
)
Parameters
- sourceBuffer GpuBuffer
- sourceBuffer
- destinationBuffer GpuBuffer
- destinationBuffer
- size Int32 (Optional)
- size in bytes; when zero (by default) then size of the smaller buffer is used
- sourceOffset Int32 (Optional)
- offset in source buffer in bytes (zero by default)
- destinationOffset Int32 (Optional)
- offset in destination buffer in bytes (zero by default)
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.CopyBuffer(Ab4d.SharpEngine.Core.GpuBuffer,Ab4d.SharpEngine.Core.GpuBuffer,System.Int32,System.Int32,System.Int32)"]
See Also