Tesseract Engine Documentation

Draw Members

Draw overview

Public Instance Constructors

Draw Overloaded. Initializes a new instance of the Draw class.

Public Instance Fields

FBTDElements Tells the GPU how to format the streams for instancing Uses the Fog, Binormal, Tangent and Depth fields of the stream
InstAnimElements Tells the GPU how to format the streams for instancing Used for instanced animation

Public Instance Properties

animator Model animator used by this GameObject.
drawMethod Usage of the draw object
initialTransform Needed to fix the rotation caused to animated models
instanceDataFBTD Instance data (Fog, Binormal, Tangent, Depth) Used for GameObject instancing
matrix Location and orientation matrix passed to shaders.
model Model used by this GameObject.
technique Shader technique to use
textureList Textures associated with this object.
vertexBuffer Buffer to store vertices
vertexDeclaration Vertex Declaration.

Public Instance Methods

DoDraw Base draw function which calls the required functions depending on the draw method of this object
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Draw Class | DarkWynter.Stream Namespace