Difference between revisions of "love.graphics.setColorMask"
(New page for setColorMask) |
m |
||
Line 17: | Line 17: | ||
* [[love.graphics.getColorMask]] | * [[love.graphics.getColorMask]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Sets the color mask. Enables or disables specific color components when rendering | + | {{#set:Description=Sets the color mask. Enables or disables specific color components when rendering.}} |
{{#set:Sub-Category=State}} | {{#set:Sub-Category=State}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.setColorMode}} | {{i18n|love.graphics.setColorMode}} |
Revision as of 00:36, 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.
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.
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