Class

GLKTextureInfo

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.

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 textureOrigin: GLKTextureInfoOrigin

The location of the origin in the loaded texture.

var alphaState: GLKTextureInfoAlphaState

The state of the alpha component in the loaded texture.

var containsMipmaps: Bool

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