Editar

Compartir a través de


SCNRenderer.FromDevice(IMTLDevice, NSDictionary) Method

Definition

Creates and returns a new SceneKit renderer from the provided Metal device.

[Foundation.Export("rendererWithDevice:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNRenderer FromDevice (Metal.IMTLDevice device, Foundation.NSDictionary options);
static member FromDevice : Metal.IMTLDevice * Foundation.NSDictionary -> SceneKit.SCNRenderer

Parameters

device
IMTLDevice

To be added.

This parameter can be null.

options
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to