---
title: target
framework: glkit
role: symbol
role_heading: Instance Property
path: glkit/glktextureinfo/target-swift.property
---

# target

The OpenGL binding target for the texture.

## Declaration

```swift
var target: GLenum { get }
```

## Discussion

Discussion Your app uses this property as the target value when it binds the texture to a context.

## See Also

### Reading Texture Information

- [name](glkit/glktextureinfo/name-swift.property.md)
- [height](glkit/glktextureinfo/height-swift.property.md)
- [width](glkit/glktextureinfo/width-swift.property.md)
- [textureOrigin](glkit/glktextureinfo/textureorigin-swift.property.md)
- [alphaState](glkit/glktextureinfo/alphastate-swift.property.md)
- [containsMipmaps](glkit/glktextureinfo/containsmipmaps-swift.property.md)
