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

◆ get_root_graphics_buffer() [1/2]

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

Gets the root graphics buffer for a specific token.

Parameters
tokenProcessing domain
Returns
Shared pointer to the root graphics buffer

Definition at line 89 of file BufferAccessControl.cpp.

91{
93 return unit.get_buffer();
94}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
TokenUnitManager & m_unit_manager
Reference to the token/unit manager for storage operations.
RootGraphicsUnit & get_or_create_graphics_unit(ProcessingToken token)
Gets or creates a root graphics unit for the specified token.
std::shared_ptr< RootGraphicsBuffer > get_buffer() const

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

Referenced by MayaFlux::Buffers::BufferProcessingControl::add_graphics_processor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: