---
title: GLKFogMode
framework: GLKit
role: symbol
role_heading: Enumeration
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkfogmode
---

# GLKFogMode

A mode that describes how the fog component is calculated for the fragment.

## Declaration

```swift
enum GLKFogMode
```

## Topics

### Constants

- [GLKFogMode.exp](glkit/glkfogmode/exp.md)
- [GLKFogMode.exp2](glkit/glkfogmode/exp2.md)
- [GLKFogMode.linear](glkit/glkfogmode/linear.md)

### Initializers

- [init(rawValue:)](glkit/glkfogmode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
