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

◆ cleanup()

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

Cleanup Vulkan instance.

Definition at line 113 of file VKInstance.cpp.

114{
115 if (m_debug_messenger) {
116 m_instance.destroyDebugUtilsMessengerEXT(m_debug_messenger, nullptr, m_dynamic_dispatcher);
117 m_debug_messenger = nullptr;
118 }
119
120 if (m_instance) {
121 m_instance.destroy();
122 m_instance = nullptr;
124 }
125}
#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: