Share via


CIImageProcessorKernel.Apply Method

Definition

Overloads

Name Description
Apply(CGRect, CIImage[], NSDictionary<NSString,NSObject>, NSError)

Developers should override this method to perform custom processing on the inputs in the extent rectangle.

Apply(CIVector[], CIImage[], NSDictionary<NSString,NSObject>, NSError)

Apply(CGRect, CIImage[], NSDictionary<NSString,NSObject>, NSError)

Developers should override this method to perform custom processing on the inputs in the extent rectangle.

[Foundation.Export("applyWithExtent:inputs:arguments:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage? Apply(CoreGraphics.CGRect extent, CoreImage.CIImage[]? inputs, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? args, out Foundation.NSError error);
[<Foundation.Export("applyWithExtent:inputs:arguments:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Apply : CoreGraphics.CGRect * CoreImage.CIImage[] * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * NSError -> CoreImage.CIImage

Parameters

extent
CGRect

The region to apply the custom processing.

inputs
CIImage[]

The input images.

This parameter can be null.

args
NSDictionary<NSString,NSObject>

Additional arguments for the processing.

This parameter can be null.

error
NSError

Developers should set this NSError as necessary.

Returns

The image after custom processing.

Attributes

Applies to

Apply(CIVector[], CIImage[], NSDictionary<NSString,NSObject>, NSError)

[Foundation.Export("applyWithExtents:inputs:arguments:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage[]? Apply(CoreImage.CIVector[] extents, CoreImage.CIImage[]? inputs, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? arguments, out Foundation.NSError? error);
[<Foundation.Export("applyWithExtents:inputs:arguments:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Apply : CoreImage.CIVector[] * CoreImage.CIImage[] * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * NSError -> CoreImage.CIImage[]

Parameters

extents
CIVector[]
inputs
CIImage[]
error
NSError

Returns

Attributes

Applies to