public static void Load <T>(ref T del, VkInstance instance) { var command = GetCommand <T>(); var native = Interop.GetUTF8(command); IntPtr ptr = VK.GetInstanceProcAddr(instance, native); del = Marshal.GetDelegateForFunctionPointer <T>(ptr); }
public static void Load <T>(ref T del, VkInstance instance) { var command = GetCommand <T>(); var native = Interop.GetUTF8(command); IntPtr ptr = VK.GetInstanceProcAddr(instance, native); del = Marshal.GetDelegateForFunctionPointer <T>(ptr); }