Contents

GLKTextureLoaderApplyPremultiplication

Whether image data should be premultiplied before being loaded into the sharegroup.

Declaration

let GLKTextureLoaderApplyPremultiplication: String

Discussion

The value for this key is an NSNumber object that specifies a boolean value. If false, the data is loaded into the sharegroup without being modified. If true, the red, green and blue components of each pixel are multiplied by the alpha value. If the key is not specified, the default value is false. Never specify true for a texture that is in a compressed format.

See Also

Constants