MayaFlux 0.2.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 388 of file BackendWindowHandler.cpp.

389{
390 auto it = m_window_contexts.begin();
391 while (it != m_window_contexts.end()) {
392 if (it->window == window) {
393 it->cleanup(m_context);
395 "Unregistered window '{}'", it->window->get_create_info().title);
396 it = m_window_contexts.erase(it);
397 return;
398 }
399 ++it;
400 }
401}
#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.