Edit

SKGraphiteContext.CreateMetal Method

Definition

Overloads

Name Description
CreateMetal(SKGraphiteMtlBackendContext)

Creates a Metal-backed Graphite context using the default options.

CreateMetal(SKGraphiteMtlBackendContext, SKGraphiteContextOptions)

Creates a Metal-backed Graphite context using the specified options.

CreateMetal(SKGraphiteMtlBackendContext)

Creates a Metal-backed Graphite context using the default options.

public static SkiaSharp.SKGraphiteContext CreateMetal(SkiaSharp.SKGraphiteMtlBackendContext backendContext);

Parameters

backendContext
SKGraphiteMtlBackendContext

The Metal backend context that supplies the device and queue.

Returns

A new SKGraphiteContext, or null if it could not be created.

Applies to

CreateMetal(SKGraphiteMtlBackendContext, SKGraphiteContextOptions)

Creates a Metal-backed Graphite context using the specified options.

public static SkiaSharp.SKGraphiteContext CreateMetal(SkiaSharp.SKGraphiteMtlBackendContext backendContext, SkiaSharp.SKGraphiteContextOptions options);

Parameters

backendContext
SKGraphiteMtlBackendContext

The Metal backend context that supplies the 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