Backend.Vulkan.GetFunctionPtr
static IntPtr GetFunctionPtr(string functionName)
Resolves a Vulkan function pointer, using
vkGetDeviceProcAddr with a vkGetInstanceProcAddr fallback.
Use this to call into extensions you’ve enabled via
Backend.Vulkan.Request. You can use
Marshal.GetDelegateForFunctionPointer to turn the result into a
callable delegate.
| string functionName | The Vulkan function name, for example “vkCmdBeginRenderingKHR”. |
| RETURNS: IntPtr | A function pointer, or IntPtr.Zero on failure. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!