Edit

Share via


CIContext.FromContext Method

Definition

Overloads

FromContext(EAGLContext, NSDictionary)

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

FromContext(CGContext, CIContextOptions)

Creates a new CIContext from an existing one, along with the provided

FromContext(EAGLContext, CIContextOptions)

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

FromContext(CGContext)

Creates a new CIContext from an existing one.

FromContext(EAGLContext)

Creates a new CIContext from the provided eaglContext.

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
dictionary
NSDictionary

To be added.

This parameter can be null.

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

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)

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

Applies to