Language

SCNRenderer.FromContext Method

Definition

Overloads

Name Description
FromContext(CGLContext, NSDictionary)

Creates an SCNRenderer from the specified OpenGL context.

FromContext(EAGLContext, NSDictionary)

Creates an SCNRenderer from the specified OpenGL context.

FromContext(IntPtr, NSDictionary)

FromContext(CGLContext, NSDictionary)

Creates an SCNRenderer from the specified OpenGL context.

public static SceneKit.SCNRenderer FromContext(OpenGL.CGLContext context, Foundation.NSDictionary? options);
static member FromContext : OpenGL.CGLContext * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

context
CGLContext

The context.

options
NSDictionary

The options.

Returns

Applies to

FromContext(EAGLContext, NSDictionary)

Creates an SCNRenderer from the specified OpenGL context.

public static SceneKit.SCNRenderer FromContext(OpenGLES.EAGLContext context, Foundation.NSDictionary? options);
static member FromContext : OpenGLES.EAGLContext * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

context
EAGLContext

The context.

options
NSDictionary

The options.

Returns

Applies to

FromContext(IntPtr, NSDictionary)

[Foundation.Export("rendererWithContext:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNRenderer FromContext(IntPtr context, Foundation.NSDictionary? options);
[<Foundation.Export("rendererWithContext:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromContext : nativeint * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

context
IntPtr

nativeint

options
NSDictionary

Returns

Attributes

Applies to