Share via


EAGLContext.SetCurrentContext(EAGLContext) Method

Definition

Makes the supplied context the context that contains the OpenGL ES state.

[Foundation.Export("setCurrentContext:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool SetCurrentContext(OpenGLES.EAGLContext? context);
[<Foundation.Export("setCurrentContext:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SetCurrentContext : OpenGLES.EAGLContext -> bool

Parameters

context
EAGLContext

To be added.

This parameter can be null.

Returns

Attributes

Applies to