MayaFlux 0.5.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 1209 of file BackendWindowHandler.cpp.

1210{
1211 auto it = m_window_contexts.begin();
1212 while (it != m_window_contexts.end()) {
1213 if (it->window == window) {
1214 it->cleanup(m_context);
1216 "Unregistered window '{}'", it->window->get_create_info().title);
1217 it = m_window_contexts.erase(it);
1218 return;
1219 }
1220 ++it;
1221 }
1222}
#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.