public static void vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, VkAllocationCallbacks pAllocator) { VkPreconditions.CheckNull(instance, nameof(instance)); if (callback != null) { GetInstance(instance).DestroyDebugReportCallback(callback); } }
public static VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT pCreateInfo, VkAllocationCallbacks pAllocator, out VkDebugReportCallbackEXT pCallback) { VkPreconditions.CheckNull(instance, nameof(instance)); return(GetInstance(instance).CreateDebugReportCallback(pCreateInfo, out pCallback)); }