CIImage.FromMetalTexture 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 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 紋理。
傳回
- 屬性