Tesla Graphics Engine Documentation (January 2012)
SetData<(Of <(<'T>)>)> Method (data, writeOptions)
TeslaTesla.GraphicsVertexBufferSetData<(Of <<'(T>)>>)(array<T>[]()[][], DataWriteOptions)
Sets the vertex data from an array source.
Declaration Syntax
C#
public void SetData<T>(
	T[] data,
	DataWriteOptions writeOptions
)
where T : struct, new()
Generic Template Parameters
T
The type of data in the vertex buffer.
Parameters
data (array<T>[]()[][])
Array that holds the vertex data
writeOptions (DataWriteOptions)
Writing options for the vertex buffer. None, discard, or no overwrite.
Remarks
See implementors for details on other exceptions that can be thrown.
Exceptions
Exception Condition
ArgumentNullException Thrown if the data is null.
TeslaException Thrown if there is an error writing to the vertex buffer or arguments are invalid, check the inner exception for additional details.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)