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

◆ WallProcessor() [2/2]

MayaFlux::Buffers::WallProcessor::WallProcessor ( std::string  velocity_field,
const Portal::Graphics::ShaderSpec spec 
)

Construct a free-slip wall stage from a generated ShaderSpec.

Parameters
velocity_fieldName of the field constrained.
specShaderSpec implementing the condition.

Definition at line 21 of file WallProcessor.cpp.

22 : VolumeFieldProcessor(make_bindings(velocity_field), spec)
23 , m_velocity_field(std::move(velocity_field))
24{
26}
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.
static std::vector< FieldBinding > make_bindings(const std::string &velocity_field)
Build the binding table for the field name.

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

+ Here is the call graph for this function: