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

◆ make_bindings()

std::vector< VolumeFieldProcessor::FieldBinding > MayaFlux::Buffers::WallProcessor::make_bindings ( const std::string &  velocity_field)
staticprivate

Build the binding table for the field name.

Parameters
velocity_fieldField bound in both slots.
Returns
Table binding the read slot and the write slot.

Definition at line 5 of file WallProcessor.cpp.

7{
8 return {
9 { .name = "velocity_in", .binding = 0, .field = velocity_field, .access = FieldAccess::READ },
10 { .name = "velocity_out", .binding = 1, .field = velocity_field, .access = FieldAccess::WRITE },
11 };
12}
@ READ
Resolves to VolumeGridBuffer::read_handle.
@ WRITE
Resolves to VolumeGridBuffer::write_handle.

References MayaFlux::Buffers::VolumeFieldProcessor::READ, and MayaFlux::Buffers::VolumeFieldProcessor::WRITE.