Edit

Share via


MDLTexture.GetImageFromTexture Method

Definition

Overloads

GetImageFromTexture()

Returns an image created from the texture data.

GetImageFromTexture(nuint)

GetImageFromTexture()

Returns an image created from the texture data.

[Foundation.Export("imageFromTexture")]
public virtual CoreGraphics.CGImage GetImageFromTexture ();
abstract member GetImageFromTexture : unit -> CoreGraphics.CGImage
override this.GetImageFromTexture : unit -> CoreGraphics.CGImage

Returns

Attributes

Applies to

GetImageFromTexture(nuint)

[Foundation.Export("imageFromTextureAtLevel:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGImage GetImageFromTexture (nuint level);
abstract member GetImageFromTexture : nuint -> CoreGraphics.CGImage
override this.GetImageFromTexture : nuint -> CoreGraphics.CGImage

Parameters

level
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to