Canvas:isStereo
Returns whether the Canvas was created with the stereo
flag. Drawing something to a stereo Canvas will draw it to two viewports in the left and right half of the Canvas, using transform information from two different eyes.
stereo = Canvas:isStereo()
Arguments
None
Returns
Name | Type | Description |
stereo | boolean | Whether the Canvas is stereo. |
See also
lovr.graphics.newCanvas
lovr.graphics.fill
Canvas