SKGraphiteBackendTexture.CreateMetal(Int32, Int32, IntPtr) Method
Definition
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.
Wraps an existing Metal texture as a Graphite backend texture.
public static SkiaSharp.SKGraphiteBackendTexture CreateMetal(int width, int height, IntPtr mtlTexture);
Parameters
- width
- Int32
The width of the texture, in pixels.
- height
- Int32
The height of the texture, in pixels.
- mtlTexture
- IntPtr
A handle to the Metal texture to wrap.
Returns
A new SKGraphiteBackendTexture, or null if it could not be created.