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

953{
954 std::vector<std::shared_ptr<Core::Window>> windows;
955 windows.reserve(m_window_associations.size());
956
957 for (const auto& [key, association] : m_window_associations) {
958 if (auto window = association.window.lock()) {
959 windows.push_back(window);
960 }
961 }
962
963 return windows;
964}
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations

References m_window_associations.