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

◆ remove_geometry()

void MayaFlux::Buffers::CompositeGeometryProcessor::remove_geometry ( const std::string &  name)

Remove a geometry collection.

Definition at line 54 of file CompositeGeometryProcessor.cpp.

55{
56 auto it = std::ranges::find_if(m_collections,
57 [&name](const auto& c) { return c.name == name; });
58
59 if (it == m_collections.end()) {
61 "Attempted to remove non-existent collection '{}'", name);
62 return;
63 }
64
65 m_collections.erase(it);
66
68 "Removed geometry collection '{}'", name);
69}
#define MF_WARN(comp, ctx,...)
#define MF_DEBUG(comp, ctx,...)
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Buffers
Buffers, Managers, processors and processing chains.

References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_collections, MF_DEBUG, and MF_WARN.