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.
public interface IMaterialLogic : ISavable
Clones the logic.
|Execute(Material, IRenderer, IRenderable)||
Execute the logic for the given material and renderable (usually a Mesh).
Gets or sets if this logic is enabled or not.
Gets the logic name which its identified by.
Deserializes the object and populates it from the input.(Inherited from ISavable.)
Serializes the object and writes it to the output.(Inherited from ISavable.)
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)