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

◆ cleanup()

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

Cleanup Vulkan instance.

Definition at line 120 of file VKInstance.cpp.

121{
122 if (m_debug_messenger) {
123 m_instance.destroyDebugUtilsMessengerEXT(m_debug_messenger, nullptr, m_dynamic_dispatcher);
124 m_debug_messenger = nullptr;
125 }
126
127 if (m_instance) {
128 m_instance.destroy();
129 m_instance = nullptr;
131 }
132}
#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: