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

◆ make_bindings()

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

Build the binding table for the field name.

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

Definition at line 33 of file InfluxProcessor.cpp.

35{
36 return {
37 { .name = "field_in", .binding = 0, .field = field, .access = FieldAccess::READ },
38 { .name = "field_out", .binding = 1, .field = field, .access = FieldAccess::WRITE },
39 };
40}
@ READ
Resolves to VolumeGridBuffer::read_handle.
@ WRITE
Resolves to VolumeGridBuffer::write_handle.

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