Edit

Share via


CIKernel.FromFunction Method

Definition

Overloads

FromFunction(String, NSData, NSError)
FromFunction(String, NSData, CIFormat, NSError)

FromFunction(String, NSData, NSError)

[Foundation.Export("kernelWithFunctionName:fromMetalLibraryData:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreImage.CIKernel FromFunction (string name, Foundation.NSData data, out Foundation.NSError error);
static member FromFunction : string * Foundation.NSData *  -> CoreImage.CIKernel

Parameters

name
String
data
NSData
error
NSError

To be added.

This parameter can be null.

Returns

Attributes

Applies to

FromFunction(String, NSData, CIFormat, NSError)

[Foundation.Export("kernelWithFunctionName:fromMetalLibraryData:outputPixelFormat:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreImage.CIKernel FromFunction (string name, Foundation.NSData data, CoreImage.CIFormat format, out Foundation.NSError error);
static member FromFunction : string * Foundation.NSData * CoreImage.CIFormat *  -> CoreImage.CIKernel

Parameters

name
String
data
NSData
format
CIFormat
error
NSError

To be added.

This parameter can be null.

Returns

Attributes

Applies to