Creates a new instance of VertexBufferImplementation.
Declaration Syntax
C# |
protected VertexBufferImplementation( VertexDeclaration vertexDeclaration, int vertexCount, ResourceUsage usage )
Parameters
- vertexDeclaration (VertexDeclaration)
- The vertex declaration that describes the data.
- vertexCount (Int32)
- The number of vertices the buffer will contain.
- usage (ResourceUsage)
- The resource usage specifying the type of memory the buffer should use.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the vertex declaration is null. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)