MCPcopy Create free account
hub / github.com/Overv/VulkanTutorial / DestroyDebugUtilsMessengerEXT

Function DestroyDebugUtilsMessengerEXT

code/15_hello_triangle.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT debugMessenger, const VkAllocationCallbacks* pAllocator) {
45 auto func = (PFN_vkDestroyDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance, "vkDestroyDebugUtilsMessengerEXT");
46 if (func != nullptr) {
47 func(instance, debugMessenger, pAllocator);
48 }
49}
50
51struct QueueFamilyIndices {
52 std::optional<uint32_t> graphicsFamily;

Callers 1

cleanupMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected