lovr.graphics.getColorMask

Returns a boolean for each color channel (red, green, blue, alpha) indiciating whether it is enabled. When a color channel is enabled, it will be affected by drawing commmands and clear commands.

lovr.graphics.getColorMask()

Arguments

None

Returns

Nothing

Notes

By default, all color channels are enabled.

Disabling all of the color channels can be useful if you only want to write to the depth buffer or the stencil buffer.

See also