Compartir a través de


CIImage.FromMetalTexture Método

Definición

Crea un nuevo CIImage a partir de texture, aplicando las opciones de creación especificadas en 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

Parámetros

texture
IMTLTexture

Textura que proporciona la base de .CIImage

options
NSDictionary<NSString,NSObject>

Diccionario de cadenas a objetos, que contiene las opciones de creación.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a