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

◆ has_graphics_unit()

bool MayaFlux::Buffers::TokenUnitManager::has_graphics_unit ( ProcessingToken  token) const

Checks if a graphics unit exists for the given token.

Parameters
tokenProcessing domain
Returns
True if the unit exists, false otherwise

Definition at line 169 of file TokenUnitManager.cpp.

170{
171 return m_graphics_units.find(token) != m_graphics_units.end();
172}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::unordered_map< ProcessingToken, RootGraphicsUnit > m_graphics_units
Token-based map of root graphics buffer units.

References m_graphics_units, and token.

Referenced by MayaFlux::Buffers::BufferAccessControl::get_graphics_buffers_by_usage(), MayaFlux::Buffers::BufferAccessControl::remove_graphics_buffer(), and MayaFlux::Buffers::BufferProcessingControl::remove_graphics_processor().

+ Here is the caller graph for this function: