Tesla Graphics Engine Documentation (January 2012)
VertexBuffer Constructor (declaration, vertexCount, usage)
TeslaTesla.GraphicsVertexBufferVertexBuffer(VertexDeclaration, Int32, ResourceUsage)
Creates a new instance of VertexBuffer.
Declaration Syntax
C#
public VertexBuffer(
	VertexDeclaration declaration,
	int vertexCount,
	ResourceUsage usage
)
Parameters
declaration (VertexDeclaration)
Vertex declaration that defines the vertex data this buffer will contain
vertexCount (Int32)
Number of vertices the buffer will contain
usage (ResourceUsage)
Buffer usage, either static or dynamic
Exceptions
Exception Condition
TeslaException Thrown if creating underlying buffer fails or the render system was not initialized.

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