Tesla Graphics Engine Documentation (January 2012)
VertexElement Structure
TeslaTesla.GraphicsVertexElement
Represents a vertex element in a vertex buffer.
Declaration Syntax
C#
public struct VertexElement
Members
All Members Constructors Methods Fields



Icon Member Description
VertexElement(VertexSemantic, Int32, VertexFormat, Int32)
Creates a new instance of VertexElement.

Equality(VertexElement, VertexElement)
Tests equality between two VertexElements.

Equals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueType.Equals(Object).)
Format
Format of this element.

GetHashCode()()()()
Returns a hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(VertexElement, VertexElement)
Tests inequality between two VertexElements.

Offset
Offset in bytes from the start of the vertex data.

SemanticIndex
Semantic index this element is bound to.

SemanticName
Semantic name that this element is bound to.

ToString()()()()
Returns a String that represents this instance.
(Overrides ValueType.ToString()()()().)

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