OpenTK.Platform.iPhoneOS.iPhoneOSGameView.LayerColorFormat Property
Gets or sets the OpenGLES.EAGLColorFormat value that should be used when configuring the CoreAnimation.CAEAGLLayer.

Syntax

public Xamarin.iOS.dll=Foundation.NSString LayerColorFormat { get; set; }

Value

A OpenGLES.EAGLColorFormat value that should be used when configuring the CoreAnimation.CAEAGLLayer.

Exceptions

TypeReason
ObjectDisposedException The instance has had Foundation.NSObject.Dispose invoked on it.

Remarks

This property must be set before iPhoneOSGameView.CreateFrameBuffer is invoked. No default is provided.

This should be set to one of the OpenGLES.EAGLColorFormat values, and is used when configuring the CoreAnimation.CAEAGLLayer to set the OpenGLES.EAGLDrawableProperty.ColorFormat property.

Requirements

Namespace: OpenTK.Platform.iPhoneOS
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0