MayaFlux 0.2.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 868 of file RenderFlow.cpp.

869{
870 std::vector<std::shared_ptr<Core::Window>> windows;
871 windows.reserve(m_window_associations.size());
872
873 for (const auto& [key, association] : m_window_associations) {
874 if (auto window = association.window.lock()) {
875 windows.push_back(window);
876 }
877 }
878
879 return windows;
880}
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations

References m_window_associations.