Difference between revisions of "Canvas:getFSAA"

(Created page)
 
(Added oldin)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.1]]|091|type=function}}
 
{{newin|[[0.9.1]]|091|type=function}}
 +
{{oldin|[[0.10.0]]|100|type=function|text=It has been renamed to [[Canvas:getMSAA]]}}
 
Gets the number of antialiasing samples used when drawing to the Canvas.
 
Gets the number of antialiasing samples used when drawing to the Canvas.
  
Line 14: Line 15:
 
== See Also ==
 
== See Also ==
 
* [[parent::Canvas]]
 
* [[parent::Canvas]]
 +
* [[love.graphics.newCanvas]]
 
* [[love.graphics.getSystemLimit]]
 
* [[love.graphics.getSystemLimit]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 03:07, 17 December 2015

Available since LÖVE 0.9.1
This function is not supported in earlier versions.
Removed in LÖVE 0.10.0
It has been renamed to Canvas:getMSAA.

Gets the number of antialiasing 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:getFSAA( )

Arguments

None.

Returns

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

See Also

Other Languages