<!--
{
  "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/replace",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@E@GLKTextureEnvMode@GLKTextureEnvModeReplace"
  },
  "title" : "GLKTextureEnvMode.replace"
}
-->

# GLKTextureEnvMode.replace

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

```
case replace
```

---

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)