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

◆ get_registered_windows()

std::vector< std::shared_ptr< Core::Window > > MayaFlux::Portal::Graphics::RenderFlow::get_registered_windows ( ) const

Get all registered windows.

Definition at line 992 of file RenderFlow.cpp.

993{
994 std::vector<std::shared_ptr<Core::Window>> windows;
995 windows.reserve(m_window_associations.size());
996
997 for (const auto& [key, association] : m_window_associations) {
998 if (auto window = association.window.lock()) {
999 windows.push_back(window);
1000 }
1001 }
1002
1003 return windows;
1004}
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations

References m_window_associations.