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
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.
Returns
- Attributes