Tesla Graphics Engine Documentation (January 2012)
VertexBufferImplementation Class
TeslaTesla.Graphics.ImplementationVertexBufferImplementation
Abstract class for concrete subclasses to provide the underlying implementation of VertexBuffer.
Declaration Syntax
C#
public abstract class VertexBufferImplementation : GraphicsResourceImplementation
Members
All Members Constructors Methods Properties



Icon Member Description
VertexBufferImplementation(VertexDeclaration, Int32, ResourceUsage)
Creates a new instance of VertexBufferImplementation.

VertexBufferImplementation(VertexDeclaration, ResourceUsage, DataBuffer)
Creates a new instance of VertexBufferImplementation.

VertexBufferImplementation(VertexDeclaration, ResourceUsage, array<DataBuffer>[]()[][])
Creates a new instance of VertexBufferImplementation.

BufferUsage
Gets the resource usage of the buffer, either static or dynamic.

Dispose()()()()
Disposes the underlying implementation.
(Inherited from GraphicsResourceImplementation.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResourceImplementation.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the GraphicsResourceImplementation is reclaimed by garbage collection.
(Inherited from GraphicsResourceImplementation.)
GetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, Int32)
Gets the data from the vertex buffer and copies it into specified array.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDisposed
Gets if the resource has been disposed.
(Inherited from GraphicsResourceImplementation.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the name of this resource.
(Inherited from GraphicsResourceImplementation.)
ResourceID
Gets or sets the resource ResourceID. It can only be set once, usually by the renderer.
(Inherited from GraphicsResourceImplementation.)
SetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, Int32, DataWriteOptions)
Sets the vertex data from an array source.

SetInterleavedData(array<DataBuffer>[]()[][])
Convienence method that takes an array of data buffers, each representing a vertex element (in the order declared by the vertex declaration), and writes all of the data to the vertex buffer. The buffers must match the vertex declaration as well as the byte sizes of each element and all be of the same length.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VertexCount
Gets the number of vertices contained in this buffer.

VertexDeclaration
Gets the vertx declaration that describes the type of data contained in this buffer.

Inheritance Hierarchy

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