Edytuj

Udostępnij za pośrednictwem


SCNRenderer.FromContext Method

Definition

Overloads

FromContext(CGLContext, NSDictionary)
FromContext(EAGLContext, NSDictionary)

Creates a new renderer from the specified graphics context and options.

FromContext(IntPtr, NSDictionary)

Creates a new renderer from the specified graphics context and options.

FromContext(CGLContext, NSDictionary)

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNRenderer FromContext (OpenGL.CGLContext context, Foundation.NSDictionary options);
static member FromContext : OpenGL.CGLContext * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

context
CGLContext
options
NSDictionary

Returns

Attributes

Applies to

FromContext(EAGLContext, NSDictionary)

Creates a new renderer from the specified graphics context and options.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
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 in which to draw.

options
NSDictionary

A dictionary for future possible extensions.

Returns

Attributes

Applies to

FromContext(IntPtr, NSDictionary)

Creates a new renderer from the specified graphics context and options.

[Foundation.Export("rendererWithContext:options:")]
public static SceneKit.SCNRenderer FromContext (IntPtr context, Foundation.NSDictionary options);
static member FromContext : nativeint * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

context
IntPtr

nativeint

The context in which to draw.

options
NSDictionary

A dictionary for future possible extensions.

This parameter can be null.

Returns

Attributes

Applies to