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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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