Share via


CIContext.FromContext Method

Definition

Overloads

Name Description
FromContext(EAGLContext, NSDictionary)

Creates a new CIContext from the provided eaglContext and by using the options that are named in dictionary.

FromContext(EAGLContext, CIContextOptions)

Creates a CIContext based on the eaglContext, with the specified options.

FromContext(EAGLContext)

Creates a new CIContext from the provided eaglContext.

FromContext(CGContext)

Creates a new CIContext from an existing one.

FromContext(CGContext, CIContextOptions)

Creates a new CIContext from an existing one, along with 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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIContext FromContext(OpenGLES.EAGLContext eaglContext, Foundation.NSDictionary? dictionary);
[<Foundation.Export("contextWithEAGLContext:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromContext : OpenGLES.EAGLContext * Foundation.NSDictionary -> CoreImage.CIContext

Parameters

eaglContext
EAGLContext
dictionary
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

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(EAGLContext)

Creates a new CIContext from the provided eaglContext.

[Foundation.Export("contextWithEAGLContext:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIContext FromContext(OpenGLES.EAGLContext eaglContext);
[<Foundation.Export("contextWithEAGLContext:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromContext : OpenGLES.EAGLContext -> CoreImage.CIContext

Parameters

eaglContext
EAGLContext

Returns

Attributes

Applies to

FromContext(CGContext)

Creates a new CIContext from an existing one.

public static CoreImage.CIContext FromContext(CoreGraphics.CGContext ctx);
static member FromContext : CoreGraphics.CGContext -> CoreImage.CIContext

Parameters

ctx
CGContext

Returns

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

Returns

Applies to