Example #1
0
 /// <summary>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.</summary>
 public virtual void WriteTo(Texture2D image, DrawInfo info, ref Color[] pixels)
 {
 }
Example #2
0
 /// <summary>Draws this node now.</summary>
 public virtual void Draw(DrawInfo info)
 {
 }
Example #3
0
 public void Clear(DrawInfo info)
 {
     Buffer = null;
 }
Example #4
0
 public DrawStack(DrawInfo info)
 {
     Allocate(info);
 }
 public override void Prepare(DrawInfo info)
 {
     base.Prepare(info);
     MapX = info.DeltaX;
     MapY = info.DeltaY;
 }