MayaFlux 0.1.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 941 of file RenderFlow.cpp.

942{
943 if (!window) {
944 return;
945 }
946
947 auto it = m_window_associations.find(window);
948
949 if (it != m_window_associations.end()) {
950 m_window_associations.erase(it);
951
953 "Unregistered window '{}' from rendering",
954 window->get_create_info().title);
955 }
956}
#define MF_DEBUG(comp, ctx,...)
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, and MayaFlux::Journal::Rendering.