Class

GLKTextureInfo

Information about OpenGL textures created by the GLKTextureLoader class.

Declaration

@interface GLKTextureInfo : NSObject

Overview

When your app loads textures using the GLKTextureLoader class, the texture loader returns information about the textures using GLKTextureInfo objects. Your app never creates GLKTextureInfo objects directly.

Topics

Reading Texture Information

name

The OpenGL context’s name for the texture.

target

The OpenGL binding target for the texture.

height

The height of the loaded texture.

width

The width of the loaded texture.

textureOrigin

The location of the origin in the loaded texture.

alphaState

The state of the alpha component in the loaded texture.

containsMipmaps

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

Constants

GLKTextureInfoAlphaState

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

GLKTextureInfoOrigin

The location of the origin in the original source image.

Relationships

Inherits From

Conforms To

See Also

Texture Loading

GLKTextureLoader

A utility class that simplifies loading OpenGL or OpenGL ES texture datas from a variety of image file formats.

Deprecated