Click or drag to resize
Ab4d.SharpEngine logo

GpuBufferReadFromBufferT(T, Int32, Int32) Method

Reads the dataItemsCount items from this buffer, starting from the bufferDataOffset (specified in absolute bytes offset not as items count). The data are read to the specified array.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void ReadFromBuffer<T>(
	T[] data,
	int dataItemsCount,
	int bufferDataOffset = 0
)
where T : struct, new()

Parameters

data  T
destination array
dataItemsCount  Int32
number of items in the data array to read
bufferDataOffset  Int32  (Optional)
offset specified in absolute bytes offset not as items count; zero by default

Type Parameters

T
type of data
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.ReadFromBuffer``1(``0[],System.Int32,System.Int32)"]

See Also