MDLTexture.GetImageFromTexture Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetImageFromTexture() |
Returns an image created from the texture data. |
GetImageFromTexture(nuint) |
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
[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