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

◆ kernel()

Supply a user kernel via MF_KERNEL.

When set, KernelOp is ignored.

Parameters
ksKernelSource produced by MF_KERNEL. If its param_names is empty, build() fills it from the declared bindings, then the push constant fields, then a trailing "i".

Definition at line 672 of file ShaderSpec.hpp.

673 {
674 m_kernel = std::move(ks);
675 return *this;
676 }
std::optional< KernelSource > m_kernel