Difference between revisions of "love.graphics.setAlphaTest"

(Created page with "{{newin|0.9.0|090|type=function}} Sets the alpha testing mode. == Function == === Synopsis === <source lang="lua"> love.graphics.setAlphaTest( mode, alpha )...")
(No difference)

Revision as of 01:09, 12 April 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Sets the alpha testing mode.

Function

Synopsis

love.graphics.setAlphaTest( mode, alpha )

Arguments

AlphaTestMode mode
The comparison mode to use.
number alpha
The alpha level to test against.

Returns

Nothing.

Function

Disables the alpha testing mode.

Synopsis

love.graphics.setAlphaTest( )

Arguments

None.

Returns

Nothing.

See Also


Other Languages