Tesla Graphics Engine Documentation (January 2012)
VertexBufferImplementation Constructor (vertexDeclaration, usage, data)
TeslaTesla.Graphics.ImplementationVertexBufferImplementationVertexBufferImplementation(VertexDeclaration, ResourceUsage, array<DataBuffer>[]()[][])
Creates a new instance of VertexBufferImplementation.
Declaration Syntax
C#
protected VertexBufferImplementation(
	VertexDeclaration vertexDeclaration,
	ResourceUsage usage,
	params DataBuffer[] data
)
Parameters
vertexDeclaration (VertexDeclaration)
The vertex declaration that describes the data.
usage (ResourceUsage)
The resource usage specifying the type of memory the buffer should use.
data (array<DataBuffer>[]()[][])
Array of databuffers to initialize the vertex buffer with, each databuffer corresponds to a single vertex element.
Exceptions
Exception Condition
ArgumentNullException Thrown if data or vertex declaration is null.
ArgumentOutOfRangeException Thrown if the declaration's vertex stride is not the same as the data's vertex stride, or the number of data buffers do not match the number of declaraed vertex elements, or the data buffers are not all the same length.

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