<!--
{
  "availability" : [
    "iOS: 5.0.0 - 12.0.0",
    "iPadOS: 5.0.0 - 12.0.0",
    "macOS: 10.8.0 - 10.14.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKEffectPropertyFog/end",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GLKEffectPropertyFog(py)end"
  },
  "title" : "end"
}
-->

# end

The distance in eye coordinates where fog completely covers the color fragment.

```
var end: GLfloat { get set }
```

## Discussion

This property is ignored when the [`mode`](/documentation/GLKit/GLKEffectPropertyFog/mode) property is set to [`GLKFogMode.exp`](/documentation/GLKit/GLKFogMode/exp) or [`GLKFogMode.exp2`](/documentation/GLKit/GLKFogMode/exp2).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)