Beispiel #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)
 {
 }
Beispiel #2
0
 /// <summary>Draws this node now.</summary>
 public virtual void Draw(DrawInfo info)
 {
 }
 public void Clear(DrawInfo info)
 {
     Buffer = null;
 }
Beispiel #4
0
 public DrawStack(DrawInfo info)
 {
     Allocate(info);
 }
 public override void Prepare(DrawInfo info)
 {
     base.Prepare(info);
     MapX = info.DeltaX;
     MapY = info.DeltaY;
 }