Düzenle

Aracılığıyla paylaş


CIImage.FromMetalTexture Method

Definition

Creates a new CIImage from texture, applying the creation options specified in 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

Parameters

texture
IMTLTexture

The texture providing the basis of hte CIImage.

options
NSDictionary<NSString,NSObject>

A dictionary of strings to objects, holding the creation options.

This parameter can be null.

Returns

Attributes

Applies to