Click or drag to resize
Ab4d.SharpEngine logo

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.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public void CopyBuffer(
	GpuBuffer sourceBuffer,
	GpuBuffer destinationBuffer,
	int size = 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
See Also