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

◆ add_binding()

void MayaFlux::Buffers::ShaderProcessor::add_binding ( const std::string &  descriptor_name,
const ShaderBinding &  binding 
)

Add descriptor binding configuration.

Parameters
descriptor_nameLogical name
bindingShader binding info

Definition at line 612 of file ShaderProcessor.cpp.

613{
614 m_config.bindings[descriptor_name] = binding;
616}
std::unordered_map< std::string, ShaderBinding > bindings

References MayaFlux::Buffers::ShaderConfig::bindings, m_config, and m_needs_descriptor_rebuild.

Referenced by MayaFlux::Buffers::VertexFieldProcessor::sync_revision(), and MayaFlux::Buffers::VertexFieldProcessor::VertexFieldProcessor().

+ Here is the caller graph for this function: