Click or drag to resize
Ab4d.SharpEngine logo

GpuBufferCopyToBuffer Method

CopyToBuffer copies this buffer 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.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public void CopyToBuffer(
	GpuBuffer destinationBuffer,
	int size = 0
)

Parameters

destinationBuffer  GpuBuffer
destinationBuffer
size  Int32  (Optional)
size in bytes; when zero (by default) then size of the smaller buffer is used
See Also