|
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.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void ReadFromBuffer<T>(
T[] data
)
where T : struct, new()
Parameters
- data T
- destination array
Type Parameters
- T
- type of data
See Also