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

NameTypeDescription
canvasCanvasThe new active Canvas object, or nil to just render to the headset.

Returns

Nothing

See also