Instance Property

enabled

A Boolean value that indicates whether fog is applied to the fragment color.

Declaration

var enabled: GLboolean { get set }

Discussion

If the value of this property is GL_TRUE, then fog calculations are performed each time a fragment is computed. If the value of this property is GL_FALSE, then fog calculations are skipped. The default value is GL_TRUE.