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

◆ add_buffer()

void MayaFlux::Buffers::BufferManager::add_buffer ( const std::shared_ptr< Buffer > &  buffer,
ProcessingToken  token,
uint32_t  channel = 0 
)

Adds a buffer to a token and channel.

Parameters
bufferBuffer to add (AudioBuffer or VKBuffer depending on token)
tokenProcessing domain
channelChannel index (optional, used for audio)

Definition at line 203 of file BufferManager.cpp.

207{
208 m_access_control->add_buffer(buffer, token, channel);
209}
std::unique_ptr< BufferAccessControl > m_access_control
Buffer and unit access operations.

References m_access_control.

Referenced by MayaFlux::Kriya::TemporalActivation::activate_buffer().

+ Here is the caller graph for this function: