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

◆ InfluxProcessor() [1/2]

MayaFlux::Buffers::InfluxProcessor::InfluxProcessor ( std::string  field,
const std::string &  shader_path 
)

Construct an influx stage.

Parameters
fieldName of the field added into. Must be double-buffered. Stride may be sizeof(float) or sizeof(glm::vec4) depending on which shader is supplied.
shader_pathPath to a shader defining shape().

Definition at line 42 of file InfluxProcessor.cpp.

43 : VolumeFieldProcessor(make_bindings(field), shader_path)
44 , m_field(std::move(field))
45{
47}
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: