RendererPlugin
Implemented by
Index
Properties
Methods
Properties
priority
Render priority tie breaker when drawings are at the same z index
Lower number means higher priority and is drawn first. Higher number means lower priority and is drawn last.
readonlytype
Unique type name for this renderer plugin
Methods
dispose
Clear out any allocated memory
Returns void
draw
Issue a draw command to draw something to the screen
Parameters
rest...args: any[]
Returns void
flush
Flush any pending graphics draws to the screen
Returns void
hasPendingDraws
Returns boolean
if there are any pending draws in the renderer
initialize
Initialize your renderer
Parameters
gl: WebGL2RenderingContext
context: ExcaliburGraphicsContextWebGL
Returns void
Interface that defines an Excalibur Renderer that can be called with .draw() in the ExcaliburGraphicsContext