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

Function DestroyDebugUtilsMessengerEXT

code/31_compute_shader.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT debugMessenger, const VkAllocationCallbacks* pAllocator) {
57 auto func = (PFN_vkDestroyDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance, "vkDestroyDebugUtilsMessengerEXT");
58 if (func != nullptr) {
59 func(instance, debugMessenger, pAllocator);
60 }
61}
62
63struct QueueFamilyIndices {
64 std::optional<uint32_t> graphicsAndComputeFamily;

Callers 1

cleanupMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected