Available since LÖVE 0.9.0
This function is not supported in earlier versions.
Gets the active color components used when drawing. Normally all 4 components are active unless love.graphics.setColorMask has been used.
The color mask determines whether individual components of the colors of drawn objects will affect the color of the screen. They affect love.graphics.clear and Canvas:clear as well.
r, g, b, a = love.graphics.getColorMask( )
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.