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

# enabled

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

## Declaration

```swift
var enabled: GLboolean { get set }
```

## Discussion

Discussion If the value is GL_TRUE, then the texture is applied to the primitive. If the value is GL_FALSE, the texture is skipped. The default value is GL_TRUE.

## See Also

### Configuring Texture Properties

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