Contents

enabled

A Boolean value that indicates whether calculations should be performed on this light.

Declaration

var enabled: GLboolean { get set }

Discussion

If the value of enabled is GL_TRUE, then lighting calculations are performed for this light. If the value is GL_FALSE, this light is skipped when computing the fragment color.

See Also

Configuring Common Lighting Properties