SKGraphiteContext.CreateMetal 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 |
|---|---|
| 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.