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 )...")
 
(Removed)
 
Line 1: Line 1:
{{newin|[[0.9.0]]|090|type=function}}
 
Sets the [[AlphaTestMode|alpha testing mode]].
 
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
love.graphics.setAlphaTest( mode, alpha )
 
</source>
 
=== Arguments ===
 
{{param|AlphaTestMode|mode|The comparison mode to use.}}
 
{{param|number|alpha|The alpha level to test against.}}
 
=== Returns ===
 
Nothing.
 
  
== Function ==
 
Disables the alpha testing mode.
 
=== Synopsis ===
 
<source lang="lua">
 
love.graphics.setAlphaTest( )
 
</source>
 
=== Arguments ===
 
None.
 
=== Returns ===
 
Nothing.
 
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[love.graphics.getAlphaTest]]
 
* [[AlphaTestMode]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the alpha testing mode.}}
 
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
{{i18n|love.graphics.setAlphaTest}}
 

Latest revision as of 02:59, 8 August 2013