Click or drag to resize
Ab4d.SharpEngine logo

GpuBufferReadFromBufferT(T) Method

Reads the content of this buffer to the specified array. If the array is smaller than this buffer, then only the data with the size of the array are copied. If the buffer is smaller than the array, then the whole buffer will be copied to the start of the array.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void ReadFromBuffer<T>(
	T[] data
)
where T : struct, new()

Parameters

data  T
destination array

Type Parameters

T
type of data
See Also