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

◆ unregister_window()

void MayaFlux::Portal::Graphics::RenderFlow::unregister_window ( const std::shared_ptr< Core::Window > &  window)

Unregister a window from rendering.

Parameters
windowWindow to unregister

Definition at line 975 of file RenderFlow.cpp.

976{
977 if (!window) {
978 return;
979 }
980
981 auto it = m_window_associations.find(window);
982
983 if (it != m_window_associations.end()) {
984 m_window_associations.erase(it);
985
987 "Unregistered window '{}' from rendering",
988 window->get_create_info().title);
989 }
990}
#define MF_DEBUG(comp, ctx,...)
std::weak_ptr< Core::Window > window
Definition Picker.cpp:23
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations
@ Rendering
GPU rendering operations (graphics pipeline, frame rendering)
@ Portal
High-level user-facing API layer.

References m_window_associations, MF_DEBUG, MayaFlux::Journal::Portal, MayaFlux::Journal::Rendering, and window.