Click or drag to resize
Ab4d.SharpEngine logo

GpuBufferWriteToBufferT(T, Int32) Method

Writes the specified data to this buffer. The data is written to 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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public void WriteToBuffer<T>(
	ref T data,
	int bufferDataOffset
)
where T : struct, new()

Parameters

data  T
data to write
bufferDataOffset  Int32
offset specified in absolute bytes offset not as items count; zero by default

Type Parameters

T
type of data
See Also