Edit

SKGraphiteContext.CreateDawn Method

Definition

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.

Applies to