SCNRenderer.FromContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FromContext(CGLContext, NSDictionary) | |
| FromContext(EAGLContext, NSDictionary) | |
| FromContext(IntPtr, NSDictionary) |
FromContext(CGLContext, NSDictionary)
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
Applies to
FromContext(EAGLContext, NSDictionary)
public static SceneKit.SCNRenderer FromContext(OpenGLES.EAGLContext context, Foundation.NSDictionary? options);
static member FromContext : OpenGLES.EAGLContext * Foundation.NSDictionary -> SceneKit.SCNRenderer
Parameters
- context
- EAGLContext
- options
- NSDictionary
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