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

◆ remove_feed()

void MayaFlux::Buffers::ShaderProcessor::remove_feed ( const std::string &  name)

Remove a feed.

Any buffer it created is released.

Definition at line 291 of file ShaderProcessor.cpp.

292{
293 auto it = m_feeds.find(name);
294 if (it == m_feeds.end()) {
295 return;
296 }
297
298 if (it->second.is_storage) {
299 unbind_buffer(it->second.descriptor_name);
300 }
301
302 m_feeds.erase(it);
303}
std::string name
Definition VKDevice.cpp:123
void unbind_buffer(const std::string &descriptor_name)
Unbind a buffer from a descriptor.
std::unordered_map< std::string, Feed > m_feeds

References m_feeds, name, and unbind_buffer().

+ Here is the call graph for this function: