CIImage.FromMetalTexture 方法

定义

CIImagetexture创建新的 ,并应用 中指定的options创建选项。

[Foundation.Export("imageWithMTLTexture:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static CoreImage.CIImage FromMetalTexture (Metal.IMTLTexture texture, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
static member FromMetalTexture : Metal.IMTLTexture * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> CoreImage.CIImage

参数

texture
IMTLTexture

提供 基础的 CIImage纹理。

options
NSDictionary<NSString,NSObject>

对象字符串字典,包含创建选项。

此参数可以为 null

返回

属性

适用于