love.graphics.setAlphaTest

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