MayaFlux 0.4.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 1207 of file BackendWindowHandler.cpp.

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