---
title: enabled
framework: GLKit
role: symbol
role_heading: Instance Property
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkeffectpropertyfog/enabled
---

# enabled

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

## Declaration

```swift
var enabled: GLboolean { get set }
```

## Discussion

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.
