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

◆ unregister_window()

void MayaFlux::Core::BackendWindowHandler::unregister_window ( const std::shared_ptr< Window > &  window)

Definition at line 538 of file BackendWindowHandler.cpp.

539{
540 auto it = m_window_contexts.begin();
541 while (it != m_window_contexts.end()) {
542 if (it->window == window) {
543 it->cleanup(m_context);
545 "Unregistered window '{}'", it->window->get_create_info().title);
546 it = m_window_contexts.erase(it);
547 return;
548 }
549 ++it;
550 }
551}
#define MF_INFO(comp, ctx,...)
std::vector< WindowRenderContext > m_window_contexts
@ GraphicsSubsystem
Graphics subsystem operations (Vulkan, rendering pipeline)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsSubsystem, and MF_INFO.