Tesla Graphics Engine Documentation (January 2012)
BaseMaterialLogic Class
TeslaTesla.GraphicsBaseMaterialLogic
Base MaterialLogic encapsulating common implemention. Material logic can be thought of as "pre-shaders". If a user needs to operate or retrieve a value that the engine does not define every frame, or per-material, that can be done in a material logic. Logic is executed before the material applies itself during rendering.
Declaration Syntax
C#
public abstract class BaseMaterialLogic : IMaterialLogic, 
	ISavable
Members
All Members Constructors Methods Properties



Icon Member Description
BaseMaterialLogic(String)
Initializes a new instance of the BaseMaterialLogic class.

Clone()()()()
Clones the logic.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Execute(Material, IRenderer, IRenderable)
Execute the logic for the given material and renderable (usually a Mesh).

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsEnabled
Gets or sets if this logic is enabled or not.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the logic name which its identified by.

Read(ISavableReader)
Deserializes the object and populates it from the input.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(ISavableWriter)
Serializes the object and writes it to the output.

Inheritance Hierarchy
Object
BaseMaterialLogic
  LightLogic

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