|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::ShaderProcessor::bind_buffer | ( | const std::string & | descriptor_name, |
| const std::shared_ptr< VKBuffer > & | buffer | ||
| ) |
Bind a VKBuffer to a named shader descriptor.
| descriptor_name | Logical name (e.g., "input", "output") |
| buffer | VKBuffer to bind |
Registers the buffer for descriptor set binding. The descriptor_name must match a key in config.bindings.
Definition at line 106 of file ShaderProcessor.cpp.
References MayaFlux::Buffers::ShaderBinding::binding, MayaFlux::Buffers::ShaderProcessorConfig::bindings, MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_bound_buffers, m_config, m_needs_descriptor_rebuild, MF_ERROR, MayaFlux::Buffers::ShaderBinding::set, and MayaFlux::Buffers::ShaderBinding::type.
Referenced by auto_bind_buffer(), MayaFlux::Buffers::DescriptorBindingsProcessor::bind_matrix_node(), MayaFlux::Buffers::DescriptorBindingsProcessor::bind_scalar_node(), MayaFlux::Buffers::DescriptorBindingsProcessor::bind_structured_node(), and MayaFlux::Buffers::DescriptorBindingsProcessor::bind_vector_node().
Here is the caller graph for this function: