Loonim.DrawStackNode Class Reference

Detailed Description

A single node on the stack.

Inheritance diagram for Loonim.DrawStackNode:
Loonim.BatchStackNode Loonim.BlockStackNode Loonim.LiveStackNode Loonim.MaterialStackNode Loonim.StackerStackNode Loonim.TextureStackNode Loonim.MaterialStackNodeCleared

Public Member Functions

virtual void Draw (DrawInfo info)
 Draws this node now. More...
 
virtual void WriteTo (Texture2D image, DrawInfo info, ref Color[] pixels)
 Writes Texture to the given one, filling it. Might allocate a pixel buffer which is reffed so it can be reused in a secondary call. More...
 

Properties

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...
 

Member Function Documentation

virtual void Loonim.DrawStackNode.Draw ( DrawInfo  info)
inlinevirtual
virtual void Loonim.DrawStackNode.WriteTo ( Texture2D  image,
DrawInfo  info,
ref Color[]  pixels 
)
inlinevirtual

Writes Texture to the given one, filling it. Might allocate a pixel buffer which is reffed so it can be reused in a secondary call.

Reimplemented in Loonim.BlockStackNode, Loonim.BatchStackNode, Loonim.MaterialStackNode, and Loonim.TextureStackNode.

Property Documentation

virtual bool Loonim.DrawStackNode.Clear
getset

Set if this node should transparent clear (GL.Clear) right before it draws. Only applies to nodes which use MaterialStackNodeCleared.

virtual Material Loonim.DrawStackNode.NodeMaterial
get
virtual Texture Loonim.DrawStackNode.Texture
get