Difference between revisions of "Canvas:getMSAA"

(Created page)
 
(See Also)
 
Line 15: Line 15:
 
* [[parent::Canvas]]
 
* [[parent::Canvas]]
 
* [[love.graphics.newCanvas]]
 
* [[love.graphics.newCanvas]]
* [[love.graphics.getSystemLimit]]
+
* [[love.graphics.getSystemLimits]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the number of MSAA samples used when drawing to the Canvas.}}
 
{{#set:Description=Gets the number of MSAA samples used when drawing to the Canvas.}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Canvas:getMSAA}}
 
{{i18n|Canvas:getMSAA}}

Latest revision as of 17:32, 14 March 2022

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


Other Languages