OpenTK.Platform.iPhoneOS.iPhoneOSGameView.ContextRenderingApi Property
Gets or sets the OpenGLES version that will be used with iPhoneOSGameView.GraphicsContext.

Syntax

public Xamarin.iOS.dll=OpenGLES.EAGLRenderingAPI ContextRenderingApi { get; set; }

Value

A OpenGLES.EAGLRenderingAPI value which specifies the OpenGLES version that will be used with iPhoneOSGameView.GraphicsContext.

Exceptions

TypeReason
NotSupportedExceptioniPhoneOSGameView.ContextRenderingApi can't be set after iPhoneOSGameView.GraphicsContext has been created.
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.

Requirements

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