Share via


CIImage.FromMetalTexture Method

Definition

Creates a new CIImage from texture, applying the creation options specified in options.

[Foundation.Export("imageWithMTLTexture:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage? FromMetalTexture(Metal.IMTLTexture texture, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? options);
[<Foundation.Export("imageWithMTLTexture:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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