Enumeration

GLKTextureInfoOrigin

The location of the origin in the original source image.

Declaration

typedef enum GLKTextureInfoOrigin : GLint {
    ...
} GLKTextureInfoOrigin;

Overview

The origin’s position has no effect on how the texture is loaded into the context. If you need to flip the image before loading it, your app must explicitly add the GLKTextureOriginBottomLeft key to the options dictionary provided when loading the texture.

Topics

Constants

GLKTextureInfoOriginUnknown

The origin of the texture is not supported.

GLKTextureInfoOriginTopLeft

The origin of the texture is in the top-left corner.

GLKTextureInfoOriginBottomLeft

The origin of the texture is in the bottom-left corner.