<!--
{
  "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/GLKTextureInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GLKTextureInfo"
  },
  "title" : "GLKTextureInfo"
}
-->

# GLKTextureInfo

Information about OpenGL textures created by the [`GLKTextureLoader`](/documentation/GLKit/GLKTextureLoader) class.

```
class GLKTextureInfo
```

## Overview

When your app loads textures using the [`GLKTextureLoader`](/documentation/GLKit/GLKTextureLoader) class, the texture loader returns information about the textures using [`GLKTextureInfo`](/documentation/GLKit/GLKTextureInfo) objects. Your app never creates [`GLKTextureInfo`](/documentation/GLKit/GLKTextureInfo) objects directly.

## Topics

### Reading Texture Information

[`name`](/documentation/GLKit/GLKTextureInfo/name-swift.property)

The OpenGL context’s name for the texture.

[`target`](/documentation/GLKit/GLKTextureInfo/target-swift.property)

The OpenGL binding target for the texture.

[`height`](/documentation/GLKit/GLKTextureInfo/height-swift.property)

The height of the loaded texture.

[`width`](/documentation/GLKit/GLKTextureInfo/width-swift.property)

The width of the loaded texture.

[`textureOrigin`](/documentation/GLKit/GLKTextureInfo/textureOrigin-swift.property)

The location of the origin in the loaded texture.

[`alphaState`](/documentation/GLKit/GLKTextureInfo/alphaState-swift.property)

The state of the alpha component in the loaded texture.

[`containsMipmaps`](/documentation/GLKit/GLKTextureInfo/containsMipmaps-swift.property)

A Boolean value that states whether the loaded texture contains mip maps.

### Constants

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

Values that describe the alpha information stored in a source image’s pixel data.

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

The location of the origin in the original source image.

### Instance Properties

[`arrayLength`](/documentation/GLKit/GLKTextureInfo/arrayLength-swift.property)

[`depth`](/documentation/GLKit/GLKTextureInfo/depth-swift.property)

[`mimapLevelCount`](/documentation/GLKit/GLKTextureInfo/mimapLevelCount-swift.property)



---

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)