Difference between revisions of "love.graphics.setColorMask"
m |
m (Added love.graphics.setColorMask() variant) |
||
Line 13: | Line 13: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
+ | == Function == | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | love.graphics.setColorMask( ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
+ | Nothing. | ||
+ | === Notes === | ||
+ | Enables all color components. | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 01:47, 16 June 2013
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Sets the color mask. Enables or disables specific color components when rendering and clearing the screen. For example, if red is set to false, no further changes will be made to the red component of any pixels.
Contents
Function
Synopsis
love.graphics.setColorMask( red, green, blue, alpha )
Arguments
boolean red
- Render red component.
boolean green
- Render green component.
boolean blue
- Render blue component.
boolean alpha
- Render alpha component.
Returns
Nothing.
Function
Synopsis
love.graphics.setColorMask( )
Arguments
None.
Returns
Nothing.
Notes
Enables all color components.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info