<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKTextureEnvMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@E@GLKTextureEnvMode"
  },
  "title" : "GLKTextureEnvMode"
}
-->

# GLKTextureEnvMode

The mode used to combine the texture with other color components.

```
enum GLKTextureEnvMode
```

## Topics

### Constants

[`GLKTextureEnvModeReplace`](/documentation/GLKit/GLKTextureEnvMode/replace)

The output color is set to the color fetched from the texture. The input color is ignored.

[`GLKTextureEnvModeModulate`](/documentation/GLKit/GLKTextureEnvMode/modulate)

The output color is calculated by multiplying the texture’s color by the input color.

[`GLKTextureEnvModeDecal`](/documentation/GLKit/GLKTextureEnvMode/decal)

The output color is calculated by using the texture’s alpha component to blend the texture’s color with the input color.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)