共用方式為


CIImage.FromMetalTexture 方法

定義

texture 建立新的 CIImage ,並套用 中指定的 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

傳回

屬性

適用於