SKGraphiteBackendTexture.CreateDawn(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 Dawn (WebGPU) texture as a Graphite backend texture.
public static SkiaSharp.SKGraphiteBackendTexture CreateDawn(IntPtr wgpuTexture);
Parameters
- wgpuTexture
- IntPtr
A handle to the WebGPU texture to wrap.
Returns
A new SKGraphiteBackendTexture, or null if it could not be created.