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

◆ get_root_graphics_buffer() [2/2]

std::shared_ptr< const RootGraphicsBuffer > MayaFlux::Buffers::BufferAccessControl::get_root_graphics_buffer ( ProcessingToken  token) const

Gets the root graphics buffer for a specific token (const)

Parameters
tokenProcessing domain
Returns
Shared pointer to the root graphics buffer

Definition at line 96 of file BufferAccessControl.cpp.

98{
99 const auto& unit = m_unit_manager.get_graphics_unit(token);
100 return unit.get_buffer();
101}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
TokenUnitManager & m_unit_manager
Reference to the token/unit manager for storage operations.
const RootGraphicsUnit & get_graphics_unit(ProcessingToken token) const
Gets an existing graphics unit without creating if missing.
std::shared_ptr< RootGraphicsBuffer > get_buffer() const

References MayaFlux::Buffers::RootGraphicsUnit::get_buffer(), MayaFlux::Buffers::TokenUnitManager::get_graphics_unit(), m_unit_manager, and token.

+ Here is the call graph for this function: