Difference between revisions of "Canvas:getFSAA"

m
m (Added deprecation notice)
Line 1: Line 1:
 
{{newin|[[0.9.1]]|091|type=function}}
 
{{newin|[[0.9.1]]|091|type=function}}
 +
{{deprecatedin|[[0.9.2]]|092|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.
  

Revision as of 01:55, 19 March 2015

Available since LÖVE 0.9.1
This function is not supported in earlier versions.
Deprecated in LÖVE 0.9.2
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