Contents

GLKTextureLoaderGrayscaleAsAlpha

Whether or not to treat greyscale image data as alpha information.

Declaration

let GLKTextureLoaderGrayscaleAsAlpha: String

Discussion

This key specifies whether the image data in a grayscale image should be treated as alpha information. The value for this key is an NSNumber object that specifies a boolean value. If false, the image data is treated as luminance data. If true, the image data is treated as alpha data. The default value is false. This key is ignored if the source image is not a grayscale image.

See Also

Constants