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

◆ declared_bindings()

std::vector< GpuBufferBinding > MayaFlux::Yantra::GpuDispatchCore::declared_bindings ( ) const
nodiscardprivate

declare_buffer_bindings less the bindings the current unit's layout does not hold.

Definition at line 706 of file GpuDispatchCore.cpp.

707{
708 auto bindings = declare_buffer_bindings();
709 std::erase_if(bindings, [this](const GpuBufferBinding& b) {
710 return !m_resources.holds_binding(dispatch_key(), b.set, b.binding);
711 });
712 return bindings;
713}
const std::string & dispatch_key() const
The key used for this context's GpuResourceManager unit.
virtual std::vector< GpuBufferBinding > declare_buffer_bindings() const
Declare the storage buffers the shader expects.
Portal::Graphics::GpuBufferBinding GpuBufferBinding

References MayaFlux::Portal::Graphics::GpuBufferBinding::binding, declare_buffer_bindings(), dispatch_key(), m_resources, and MayaFlux::Portal::Graphics::GpuBufferBinding::set.

Referenced by dispatch_core_chained_indirect(), ensure_gpu_ready(), for_each_stage(), and swap_shader().

Here is the call graph for this function:
Here is the caller graph for this function: