Mono Class Library: OpenTK.Platform.iPhoneOS.iPhoneOSGameView Overview | Members

OpenTK.Platform.iPhoneOS.iPhoneOSGameView.LayerColorFormat Property

Gets or sets the MonoTouch.OpenGLES.EAGLColorFormat value that should be used when configuring the MonoTouch.CoreAnimation.CAEAGLLayer.

public MonoTouch.Foundation.NSString LayerColorFormat { set; get; }

Value

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

Exceptions

TypeReason
ObjectDisposedException The instance has had MonoTouch.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 MonoTouch.OpenGLES.EAGLColorFormat values, and is used when configuring the MonoTouch.CoreAnimation.CAEAGLLayer to set the MonoTouch.OpenGLES.EAGLDrawableProperty.ColorFormat property.

Requirements

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