CIContext.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(EAGLContext, NSDictionary) |
Creates a new CIContext from the provided |
FromContext(CGContext, CIContextOptions) |
Creates a new CIContext from an existing one, along with the provided |
FromContext(EAGLContext, CIContextOptions) |
Creates a CIContext based on the |
FromContext(CGContext) |
Creates a new CIContext from an existing one. |
FromContext(EAGLContext) |
Creates a new CIContext from the provided |
FromContext(EAGLContext, NSDictionary)
Creates a new CIContext from the provided eaglContext
and by using the options that are named in dictionary
.
[Foundation.Export("contextWithEAGLContext:options:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public static CoreImage.CIContext FromContext (OpenGLES.EAGLContext eaglContext, Foundation.NSDictionary dictionary);
static member FromContext : OpenGLES.EAGLContext * Foundation.NSDictionary -> CoreImage.CIContext
Parameters
- eaglContext
- EAGLContext
Returns
- Attributes
Applies to
FromContext(CGContext, CIContextOptions)
Creates a new CIContext from an existing one, along with the provided
public static CoreImage.CIContext FromContext (CoreGraphics.CGContext ctx, CoreImage.CIContextOptions options);
static member FromContext : CoreGraphics.CGContext * CoreImage.CIContextOptions -> CoreImage.CIContext
Parameters
- ctx
- CGContext
- options
- CIContextOptions
Returns
Applies to
FromContext(EAGLContext, CIContextOptions)
Creates a CIContext based on the eaglContext
, with the specified options
.
public static CoreImage.CIContext FromContext (OpenGLES.EAGLContext eaglContext, CoreImage.CIContextOptions options);
static member FromContext : OpenGLES.EAGLContext * CoreImage.CIContextOptions -> CoreImage.CIContext
Parameters
- eaglContext
- EAGLContext
The source EAGLContext.
- options
- CIContextOptions
The desired CIContextOptions.
Returns
A new CIContext.
Applies to
FromContext(CGContext)
FromContext(EAGLContext)
Creates a new CIContext from the provided eaglContext
.
[Foundation.Export("contextWithEAGLContext:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public static CoreImage.CIContext FromContext (OpenGLES.EAGLContext eaglContext);
static member FromContext : OpenGLES.EAGLContext -> CoreImage.CIContext
Parameters
- eaglContext
- EAGLContext
Returns
- Attributes