編輯

共用方式為


CIWarpKernel.FromProgramSingle(String) Method

Definition

Creates a new CIWarpKernel from the supplied shader code.

[Foundation.Export("kernelWithString:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, null)]
public static CoreImage.CIWarpKernel FromProgramSingle (string coreImageShaderProgram);
[Foundation.Export("kernelWithString:")]
public static CoreImage.CIWarpKernel FromProgramSingle (string coreImageShaderProgram);
static member FromProgramSingle : string -> CoreImage.CIWarpKernel

Parameters

coreImageShaderProgram
String

Returns

Attributes

Applies to