AcediaDocumentation

DrawingImmediate

Frame-scoped drawing through layer paint callbacks.

Immediate commands render during a paint callback and return no retained object:

  1. Connect a callback to GetPaint.
  2. Issue drawing commands on every frame.
  3. Disconnect when finished.

The primitive queue has a per-frame limit, and similarly named shapes may differ in argument order. See drawing each frame for a complete callback.

Functions

FunctionPurpose
DrawingImmediate.GetPaintReturns the paint signal for a drawing layer.
DrawingImmediate.LineDraws a Line primitive for the current paint frame.
DrawingImmediate.CircleDraws a Circle primitive for the current paint frame.
DrawingImmediate.FilledCircleDraws a FilledCircle primitive for the current paint frame.
DrawingImmediate.TriangleDraws a Triangle primitive for the current paint frame.
DrawingImmediate.FilledTriangleDraws a FilledTriangle primitive for the current paint frame.
DrawingImmediate.RectangleDraws a Rectangle primitive for the current paint frame.
DrawingImmediate.FilledRectangleDraws a FilledRectangle primitive for the current paint frame.
DrawingImmediate.QuadDraws a Quad primitive for the current paint frame.
DrawingImmediate.FilledQuadDraws a FilledQuad primitive for the current paint frame.
DrawingImmediate.TextDraws a Text primitive for the current paint frame.
DrawingImmediate.OutlinedTextDraws a OutlinedText primitive for the current paint frame.

On this page