<!--
{
  "availability" : [
    "iOS: 5.0.0 - 12.0.0",
    "iPadOS: 5.0.0 - 12.0.0",
    "macOS: 10.8.0 - 10.14.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKEffectPropertyTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GLKEffectPropertyTexture"
  },
  "title" : "GLKEffectPropertyTexture"
}
-->

# GLKEffectPropertyTexture

Texture drawing parameters for use in GLKit rendering effects.

```
class GLKEffectPropertyTexture
```

## Overview

The [`GLKEffectPropertyTexture`](/documentation/GLKit/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`](/documentation/GLKit/GLKEffectPropertyTexture/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`](/documentation/GLKit/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`](/documentation/GLKit/GLKEffectPropertyTexture/enabled)

A Boolean value that indicates whether this texture is used to texture drawn primitives.

[`envMode`](/documentation/GLKit/GLKEffectPropertyTexture/envMode)

The mode the texture uses to compute its output fragment color. See [`GLKTextureEnvMode`](/documentation/GLKit/GLKTextureEnvMode).

[`name`](/documentation/GLKit/GLKEffectPropertyTexture/name)

The OpenGL name for the texture being sampled by this texture stage.

[`target`](/documentation/GLKit/GLKEffectPropertyTexture/target)

The kind of texture pointed to by the texture stage. See [`GLKTextureTarget`](/documentation/GLKit/GLKTextureTarget).

### Constants

[`GLKTextureTarget`](/documentation/GLKit/GLKTextureTarget)

The kind of texture pointed to by the property.

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

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

## Relationships

### Conforms To

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

### Inherits From

[`GLKEffectProperty`](/documentation/GLKit/GLKEffectProperty)

---

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)