W3cubDocs

/LÖVE

Canvas:getMSAA

Available since LÖVE 0.9.2
It has been renamed from Canvas:getFSAA.

Gets the number of multisample antialiasing (MSAA) samples used when drawing to the Canvas.

This may be different than the number used as an argument to love.graphics.newCanvas if the system running LÖVE doesn't support that number.

Function

Synopsis

samples = Canvas:getMSAA( )

Arguments

None.

Returns

number samples
The number of multisample antialiasing samples used by the canvas when drawing to it.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Canvas:getMSAA