SKGraphiteContext.CreateVulkan 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 |
|---|---|
| CreateVulkan(SKGraphiteVkBackendContext) |
Creates a Vulkan-backed Graphite context using the default options. |
| CreateVulkan(SKGraphiteVkBackendContext, SKGraphiteContextOptions) |
Creates a Vulkan-backed Graphite context using the specified options. |
CreateVulkan(SKGraphiteVkBackendContext)
Creates a Vulkan-backed Graphite context using the default options.
public static SkiaSharp.SKGraphiteContext CreateVulkan(SkiaSharp.SKGraphiteVkBackendContext backendContext);
Parameters
- backendContext
- SKGraphiteVkBackendContext
The Vulkan backend context that supplies the device and function loader.
Returns
A new SKGraphiteContext, or null if it could not be created.
Applies to
CreateVulkan(SKGraphiteVkBackendContext, SKGraphiteContextOptions)
Creates a Vulkan-backed Graphite context using the specified options.
public static SkiaSharp.SKGraphiteContext CreateVulkan(SkiaSharp.SKGraphiteVkBackendContext backendContext, SkiaSharp.SKGraphiteContextOptions options);
Parameters
- backendContext
- SKGraphiteVkBackendContext
The Vulkan backend context that supplies the device and function loader.
- options
- SKGraphiteContextOptions
The options that configure the context.
Returns
A new SKGraphiteContext, or null if it could not be created.