Loonim.MaterialStackNodeCleared Class Reference

Detailed Description

The same as a MaterialStackNode only this optionally clears before it draws.

Inheritance diagram for Loonim.MaterialStackNodeCleared:
Loonim.MaterialStackNode Loonim.DrawStackNode

Public Member Functions

override void Draw (DrawInfo info)
 Draws this node now. More...
 
- Public Member Functions inherited from Loonim.MaterialStackNode
override void Draw (DrawInfo info)
 Draws this node now. More...
 
override void WriteTo (Texture2D image, DrawInfo info, ref Color[] pixels)
 Writes Texture to the given one, filling it. More...
 

Properties

override bool Clear [get, set]
 
- Properties inherited from Loonim.MaterialStackNode
override Texture Texture [get]
 
override Material NodeMaterial [get]
 
- Properties inherited from Loonim.DrawStackNode
virtual Texture Texture [get]
 
virtual Material NodeMaterial [get]
 
virtual bool Clear [get, set]
 Set if this node should transparent clear (GL.Clear) right before it draws. Only applies to nodes which use MaterialStackNodeCleared. More...
 

Private Attributes

bool Clear_ =true
 Clears by default. More...
 

Additional Inherited Members

- Public Attributes inherited from Loonim.MaterialStackNode
Mesh Mesh
 The mesh to draw. More...
 
DrawStack Stack
 The stack that this material outputs to. More...
 
Material Material
 The material to draw. More...
 

Member Function Documentation

override void Loonim.MaterialStackNodeCleared.Draw ( DrawInfo  info)
inlinevirtual

Draws this node now.

Reimplemented from Loonim.DrawStackNode.

Member Data Documentation

bool Loonim.MaterialStackNodeCleared.Clear_ =true
private

Clears by default.

Property Documentation

override bool Loonim.MaterialStackNodeCleared.Clear
getset