lovr.graphics.setCanvas
Sets or disables the active Canvas object. If there is an active Canvas, things will be rendered to the Textures attached to that Canvas instead of to the headset.
lovr.graphics.setCanvas(canvas)
Arguments
Name | Type | Default | Description |
canvas | Canvas | nil | The new active Canvas object, or nil to just render to the headset.
|
Returns
Nothing
See also
Canvas:renderTo
Canvas
lovr.graphics.getCanvas
lovr.graphics