Edit

SKGraphiteBackendTexture.CreateDawn(IntPtr) Method

Definition

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.

Applies to