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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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