GLKTextureOperations.GrayscaleAsAlpha Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
On greyscale images, controls whether the image is loaded as GL_ALPHA or GL_LUMINANCE.
public Nullable<bool> GrayscaleAsAlpha { get; set; }
member this.GrayscaleAsAlpha : Nullable<bool> with get, set
Property Value
false by default, so it loads the greyscale image as GL_LUMINANCE.
Remarks
This property controls how greyscale images are loaded. By default they are loaded as GL_LUMINANCE, but if you set this property to true, they will be loaded as GL_ALPHA.