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

◆ parameter_count()

size_t MayaFlux::Kinesis::FieldSource::parameter_count ( ) const
inlinenoexcept

Number of parameters the authored function takes.

One for a spatial field, two with time, three with time and a parameter block. MF_FIELD, MF_FIELD_T and MF_FIELD_P enforce those shapes, so this identifies which of them produced the source.

Definition at line 107 of file FieldSource.hpp.

108 {
109 return params.empty() ? 0 : static_cast<size_t>(std::ranges::count(params, ',')) + 1;
110 }

References params.