MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cleanup()

void MayaFlux::Core::VKInstance::cleanup ( )

Cleanup Vulkan instance.

Definition at line 107 of file VKInstance.cpp.

108{
109 if (m_debug_messenger) {
110 m_instance.destroyDebugUtilsMessengerEXT(m_debug_messenger, nullptr, m_dynamic_dispatcher);
111 m_debug_messenger = nullptr;
112 }
113
114 if (m_instance) {
115 m_instance.destroy();
116 m_instance = nullptr;
118 }
119}
#define MF_INFO(comp, ctx,...)
vk::detail::DispatchLoaderDynamic m_dynamic_dispatcher
Dynamic dispatcher for extension functions.
vk::Instance m_instance
Vulkan instance handle.
vk::DebugUtilsMessengerEXT m_debug_messenger
Debug messenger for validation layers.
@ GraphicsBackend
Graphics/visual rendering backend (Vulkan, OpenGL)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, m_debug_messenger, m_dynamic_dispatcher, m_instance, and MF_INFO.

Referenced by MayaFlux::Core::VKContext::cleanup(), and ~VKInstance().

+ Here is the caller graph for this function: