Click or drag to resize
Ab4d.SharpEngine logo

GpuBufferWriteToBufferT(T, Int32, Int32) Method

Writes the dataLength items to this buffer. Writing starting at the bufferDataOffset location in this buffer (specified in absolute bytes offset not as items count).

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void WriteToBuffer<T>(
	T[]? data,
	int dataItemsCount,
	int bufferDataOffset = 0
)
where T : struct, new()

Parameters

data  T
source data array
dataItemsCount  Int32
number of items from the data array to write
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.WriteToBuffer``1(``0[],System.Int32,System.Int32)"]

See Also