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

◆ get_graphics_buffers()

const std::vector< std::shared_ptr< VKBuffer > > & MayaFlux::Buffers::BufferAccessControl::get_graphics_buffers ( ProcessingToken  token) const

Gets all graphics buffers for a token.

Parameters
tokenProcessing domain
Returns
Const reference to vector of graphics buffers

Definition at line 302 of file BufferAccessControl.cpp.

304{
305 const auto& unit = m_unit_manager.get_graphics_unit(token);
306 return unit.get_buffer()->get_child_buffers();
307}
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: