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

◆ InfluxProcessor() [2/2]

MayaFlux::Buffers::InfluxProcessor::InfluxProcessor ( std::string  field,
const Portal::Graphics::ShaderSpec spec 
)

Construct an influx stage from a generated ShaderSpec.

Parameters
fieldName of the field added into.
specShaderSpec defining shape() and including the dispatch.

Definition at line 49 of file InfluxProcessor.cpp.

51 , m_field(std::move(field))
52{
54}
static std::vector< FieldBinding > make_bindings(const std::string &field)
Build the binding table for the field name.
VolumeFieldProcessor(std::vector< FieldBinding > bindings, const std::string &shader_path)
Construct from a shader path.
void add_swap_field(std::string field)
Register a field to swap after each dispatch.

References MayaFlux::Buffers::VolumeFieldProcessor::add_swap_field(), and m_field.

+ Here is the call graph for this function: