Enumeration

GLKTextureEnvMode

The mode used to combine the texture with other color components.

Declaration

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

Topics

Constants

GLKTextureEnvModeReplace

The output color is set to the color fetched from the texture. The input color is ignored.

GLKTextureEnvModeModulate

The output color is calculated by multiplying the texture’s color by the input color.

GLKTextureEnvModeDecal

The output color is calculated by using the texture’s alpha component to blend the texture’s color with the input color.