---
title: GLKTextureEnvMode.replace
framework: GLKit
role: symbol
role_heading: Case
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glktextureenvmode/replace
---

# GLKTextureEnvMode.replace

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

## Declaration

```swift
case replace
```

## See Also

### Constants

- [GLKTextureEnvMode.modulate](glkit/glktextureenvmode/modulate.md)
- [GLKTextureEnvMode.decal](glkit/glktextureenvmode/decal.md)
