MayaFlux 0.4.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 ( GpuShaderConfig  config,
std::vector< GpuBufferBinding bindings = {},
std::string  name = "ShaderExecutionContext< InputType, OutputType >" 
)
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.

Definition at line 62 of file ShaderExecutionContext.hpp.

64 {},
65 std::string name = "ShaderExecutionContext")
66 : GpuExecutionContext<InputType, OutputType>(std::move(config))
67 , m_bindings(std::move(bindings))
68 , m_name(std::move(name))
69 {
70 }
InputType
Input backend type enumeration.