Modifier

Partager via


iPhoneOSGameView.ContextRenderingApi Property

Definition

Gets or sets the OpenGLES version that will be used with GraphicsContext.

public OpenGLES.EAGLRenderingAPI ContextRenderingApi { get; set; }
member this.ContextRenderingApi : OpenGLES.EAGLRenderingAPI with get, set

Property Value

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

Exceptions

ContextRenderingApi can't be set after GraphicsContext has been created.

The instance has had Dispose(Boolean) invoked on it.

Remarks

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

Applies to