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

◆ get_collection()

std::optional< CompositeGeometryProcessor::GeometryCollection > MayaFlux::Buffers::CompositeGeometryProcessor::get_collection ( const std::string &  name) const

Get collection metadata.

Returns
Optional collection if exists

Definition at line 72 of file CompositeGeometryProcessor.cpp.

73{
74 auto it = std::ranges::find_if(m_collections,
75 [&name](const auto& c) { return c.name == name; });
76
77 if (it == m_collections.end())
78 return std::nullopt;
79 return *it;
80}

References m_collections.