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

◆ on_before_dispatch()

void MayaFlux::Buffers::DescriptorBindingsProcessor::on_before_dispatch ( Portal::Graphics::CommandBufferID  cmd_id,
const std::shared_ptr< VKBuffer > &  buffer 
)
overrideprotectedvirtual

Called before shader dispatch - updates all descriptors.

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 183 of file DescriptorBindingsProcessor.cpp.

186{
187 for (auto& [name, binding] : m_bindings) {
189 }
190
192}
void update_descriptor_from_node(DescriptorBinding &binding)
Update descriptor from node context.
std::unordered_map< std::string, DescriptorBinding > m_bindings
virtual void on_before_dispatch(Portal::Graphics::CommandBufferID cmd_id, const std::shared_ptr< VKBuffer > &buffer)
Called before each dispatch.

References m_bindings, MayaFlux::Buffers::ShaderProcessor::on_before_dispatch(), and update_descriptor_from_node().

+ Here is the call graph for this function: