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



Icon Member Description
IndexBufferImplementation(IndexFormat, Int32, ResourceUsage)
Creates a new instance of IndexBufferImplementation.

IndexBufferImplementation(DataBuffer<(Of <<'(Int32>)>>), ResourceUsage)
Creates a new instance of IndexBufferImplementation.

IndexBufferImplementation(DataBuffer<(Of <<'(Int16>)>>), ResourceUsage)
Creates a new instance of IndexBufferImplementation.

BufferUsage
Get the buffer usage, 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)
Reads data from the index buffer into the 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.)
IndexCount
Get the number of indices in the buffer.

IndexFormat
Get the index format, 32 (int) or 16 (short) bits.

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, DataWriteOptions)
Writes data from the array to the index buffer.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

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