Class

GLKTexture​Info

Information about OpenGL textures created by the GLKTexture​Loader class.

Overview

When your app loads textures using the GLKTexture​Loader class, the texture loader returns information about the textures using GLKTexture​Info objects. Your app never creates GLKTexture​Info objects directly.

Symbols

Reading Texture Information

var name:​ GLuint

The OpenGL context’s name for the texture.

var target:​ GLenum

The OpenGL binding target for the texture.

var height:​ GLuint

The height of the loaded texture.

var width:​ GLuint

The width of the loaded texture.

var texture​Origin:​ GLKTexture​Info​Origin

The location of the origin in the loaded texture.

var alpha​State:​ GLKTexture​Info​Alpha​State

The state of the alpha component in the loaded texture.

var contains​Mipmaps:​ Bool

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

Constants

GLKTexture​Info​Alpha​State

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

GLKTexture​Info​Origin

The location of the origin in the original source image.

Relationships

Inherits From