SKGraphiteContext.CreateDawn 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.
Overloads
| Name | Description |
|---|---|
| CreateDawn(SKGraphiteDawnBackendContext) |
Creates a Dawn (WebGPU) backed Graphite context using the default options. |
| CreateDawn(SKGraphiteDawnBackendContext, SKGraphiteContextOptions) |
Creates a Dawn (WebGPU) backed Graphite context using the specified options. |
CreateDawn(SKGraphiteDawnBackendContext)
Creates a Dawn (WebGPU) backed Graphite context using the default options.
public static SkiaSharp.SKGraphiteContext CreateDawn(SkiaSharp.SKGraphiteDawnBackendContext backendContext);
Parameters
- backendContext
- SKGraphiteDawnBackendContext
The Dawn backend context that supplies the instance, device, and queue.
Returns
A new SKGraphiteContext, or null if it could not be created.
Applies to
CreateDawn(SKGraphiteDawnBackendContext, SKGraphiteContextOptions)
Creates a Dawn (WebGPU) backed Graphite context using the specified options.
public static SkiaSharp.SKGraphiteContext CreateDawn(SkiaSharp.SKGraphiteDawnBackendContext backendContext, SkiaSharp.SKGraphiteContextOptions options);
Parameters
- backendContext
- SKGraphiteDawnBackendContext
The Dawn backend context that supplies the instance, device, and queue.
- options
- SKGraphiteContextOptions
The options that configure the context.
Returns
A new SKGraphiteContext, or null if it could not be created.