Skip to content

GFX.Draw

Name Mandatory Description Default Type
⬅️ Input The drawable object (or sequence of drawable objects) to add to the draw queue. GFX.Drawable[GFX.Drawable]
Output ➡️ Outputs the input value, passed through unchanged. GFX.Drawable[GFX.Drawable]
Queue No The queue object to add the drawable object to. none Var(GFX.DrawQueue)

This shard takes the input drawable object (or sequence of drawable objects) and adds them to the draw queue (created by GFX.DrawQueue) specified in the Queue parameter.

Details

Draw takes a Drawable and adds a render command for it to a RenderQueue.

Default queue

If no render queue is specified, it goes to a global default queue.