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

◆ ShaderExecutionContext()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::ShaderExecutionContext ( GpuComputeConfig config,
std::vector< GpuBufferBinding > bindings = {},
std::string name = "ShaderExecutionContext< InputType, OutputType >",
bool compute_isolated = true )
inlineexplicit

Construct with shader config and optional pre-built binding list.

Bindings may be supplied here or added incrementally via the fluent API. Mixing both is valid — fluent calls append after any pre-built bindings.

Parameters
configShader path, workgroup size, push constant size.
bindingsPre-built descriptor layout. Empty by default.
nameExecutor name for logging and error messages.
compute_isolatedTrue when this context's GPU resources are not shared with graphics.

Definition at line 63 of file ShaderExecutionContext.hpp.

65 {},
66 std::string name = "ShaderExecutionContext",
67 bool compute_isolated = true)
70 , m_name(std::move(name))
71 {
72 }
GpuExecutionContext(GpuComputeConfig config, bool compute_isolated=true)
Concrete GpuExecutionContext for a single fixed shader with fixed bindings.

Referenced by in_out(), in_out(), in_out(), in_out(), input(), input(), output(), output(), push(), set_multipass(), and MayaFlux::Yantra::WordPairExecutionContext::WordPairExecutionContext().

Here is the caller graph for this function: