GLKit.GLKTextureOperations.GrayscaleAsAlpha Property
On greyscale images, controls whether the image is loaded as GL_ALPHA or GL_LUMINANCE.

Syntax

public Nullable<bool> GrayscaleAsAlpha { get; set; }

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.

Requirements

Namespace: GLKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0