void CreateDelegates() { VK.Load(ref destroySurface, instance); VK.Load(ref getPhysicalDeviceSurfaceSupport, instance); VK.Load(ref getPhysicalDeviceSurfaceCapabilities, instance); VK.Load(ref getPhysicalDeviceSurfaceFormats, instance); VK.Load(ref getPhysicalDeviceSurfacePresentModes, instance); VK.Load(ref createSwapchain, instance); VK.Load(ref destroySwapchain, instance); VK.Load(ref getSwapchainImages, instance); VK.Load(ref acquireNextImage, instance); VK.Load(ref queuePresent, instance); }