Enumeration

GLKTextureLoaderError

Values to be returned in an NSError when a texture loader encounters an error.

Declaration

typedef enum GLKTextureLoaderError : GLuint {
    ...
} GLKTextureLoaderError;

Topics

Constants

GLKTextureLoaderErrorFileOrURLNotFound

A file could not be found at the path provided.

GLKTextureLoaderErrorInvalidNSData

The data provided is not in a recognized image format.

GLKTextureLoaderErrorUnknownPathType

The path type was unrecognized.

GLKTextureLoaderErrorUnknownFileType

The file was in an unrecognized format.

GLKTextureLoaderErrorPVRAtlasUnsupported

Cube maps may not be compressed in PVRTC format.

GLKTextureLoaderErrorCubeMapInvalidNumFiles

The incorrect number of files were specified for the cube map.

GLKTextureLoaderErrorCompressedTextureUpload

A compressed texture could not be uploaded.

GLKTextureLoaderErrorUncompressedTextureUpload

An uncompressed texture could not be uploaded.

GLKTextureLoaderErrorUnsupportedCubeMapDimensions

The cube map’s dimensions are incorrect.

GLKTextureLoaderErrorUnsupportedBitDepth

The data in the source image has an unsupported bit depth.

GLKTextureLoaderErrorUnsupportedPVRFormat

The data in the PVRTC compressed format is in an unsupported format.

GLKTextureLoaderErrorDataPreprocessingFailure

The data could not be preprocessed correctly.

GLKTextureLoaderErrorMipmapUnsupported

The texture source data does not allow mipmaps to be generated.

GLKTextureLoaderErrorUnsupportedOrientation

The texture source data is stored with an unsupported origin position.

GLKTextureLoaderErrorReorientationFailure

The texture source data does not allow the image to be reoriented.

GLKTextureLoaderErrorAlphaPremultiplicationFailure

The texture source data does not allow the alpha to be premultiplied.

GLKTextureLoaderErrorInvalidEAGLContext

The EAGL context was not a valid context.

GLKTextureLoaderErrorIncompatibleFormatSRGB

The decoded data was in an incompatible format for an sRGB texture.