MayaFlux 0.3.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 930 of file RenderFlow.cpp.

931{
932 if (!window) {
933 return;
934 }
935
936 auto it = m_window_associations.find(window);
937
938 if (it != m_window_associations.end()) {
939 m_window_associations.erase(it);
940
942 "Unregistered window '{}' from rendering",
943 window->get_create_info().title);
944 }
945}
#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.