Changes the Canvas Rendering Context that all draw operations are performed against.
name | type | arguments | description |
---|---|---|---|
ctx | CanvasRenderingContext2D | <optional> |
The new Canvas Rendering Context to draw everything to. Leave empty to reset to the Game Canvas. |
The Canvas Renderer instance.