GRVkExtensions.Create 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.
Creates a new GRVkExtensions instance and initializes it with the specified Vulkan objects and extensions.
public static SkiaSharp.GRVkExtensions Create(SkiaSharp.GRVkGetProcedureAddressDelegate getProc, IntPtr vkInstance, IntPtr vkPhysicalDevice, string[] instanceExtensions, string[] deviceExtensions);
Parameters
- getProc
- GRVkGetProcedureAddressDelegate
The delegate used to retrieve Vulkan procedure addresses.
- vkInstance
- IntPtr
The Vulkan instance handle.
- vkPhysicalDevice
- IntPtr
The Vulkan physical device handle.
- instanceExtensions
- String[]
The array of enabled Vulkan instance extension names.
- deviceExtensions
- String[]
The array of enabled Vulkan device extension names.
Returns
A new GRVkExtensions instance.