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

Function DestroyDebugUtilsMessengerEXT

code/03_physical_device_selection.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT debugMessenger, const VkAllocationCallbacks* pAllocator) {
34 auto func = (PFN_vkDestroyDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance, "vkDestroyDebugUtilsMessengerEXT");
35 if (func != nullptr) {
36 func(instance, debugMessenger, pAllocator);
37 }
38}
39
40struct QueueFamilyIndices {
41 std::optional<uint32_t> graphicsFamily;

Callers 1

cleanupMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected