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.
Enables color masking for the specified color components.
love.graphics.setColorMask( red, green, blue, alpha )
boolean redboolean greenboolean blueboolean alphaNothing.
Disables color masking.
love.graphics.setColorMask( )
None.
Nothing.
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setColorMask