---
title: GLKEffectPropertyTexture
framework: GLKit
role: symbol
role_heading: Class
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkeffectpropertytexture
---

# GLKEffectPropertyTexture

Texture drawing parameters for use in GLKit rendering effects.

## Declaration

```swift
class GLKEffectPropertyTexture
```

## Overview

Overview The GLKEffectPropertyTexture class defines properties that are used to configure an OpenGL texturing operation. The texturing operation combines an input color and a color sampled from the texture and outputs a new color to the next stage of calculations. The envMode property determines the function used to calculate the output color from the two input colors. If an effect only includes a single texture property, then the input color is the lighting color calculated by the lighting stage of the graphics pipeline. An effect can also include multiple GLKEffectPropertyTexture objects. When an effect includes multiple properties, the first texture stage uses the lighting color as the first input color. Each texture stage after that uses the output of the previous stage as the input color.

## Topics

### Configuring Texture Properties

- [enabled](glkit/glkeffectpropertytexture/enabled.md)
- [envMode](glkit/glkeffectpropertytexture/envmode.md)
- [name](glkit/glkeffectpropertytexture/name.md)
- [target](glkit/glkeffectpropertytexture/target.md)

### Constants

- [GLKTextureTarget](glkit/glktexturetarget.md)
- [GLKTextureEnvMode](glkit/glktextureenvmode.md)

## Relationships

### Inherits From

- [GLKEffectProperty](glkit/glkeffectproperty.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Rendering Effect Parameters

- [GLKEffectProperty](glkit/glkeffectproperty.md)
- [GLKEffectPropertyFog](glkit/glkeffectpropertyfog.md)
- [GLKEffectPropertyLight](glkit/glkeffectpropertylight.md)
- [GLKEffectPropertyMaterial](glkit/glkeffectpropertymaterial.md)
- [GLKEffectPropertyTransform](glkit/glkeffectpropertytransform.md)
- [GLKit Effects Constants](glkit/glkit-effects-constants.md)
