RFE: Sequence parameters in the C++ custom operator SDK

Hi all,

Would love to see sequence parameters exposed in the C++ SDK, something like an appendSequence() on OP_ParameterManager plus a way to read the block count and per-block values in execute().

Right now a custom op has to pick a fixed number of inputs up front in setupParameters(). For example, TDRive (a Rive TOP) can feed TOPs into a Rive file’s image properties, but it’s arbitrarily capped at four Image/Property slots, because there’s no way to let the user add more. A sequence would solve that cleanly, the same way it does for the GLSL TOP’s inputs.

Rive has an idea of “lists” which describe arrays or sequential groups of data, and we could take in as DAT format, you might have multiple lists so it gets tricky.

Thanks!

Hey @cem_futuretense ,

Thanks for the suggestion. We’ve been working on exposing this feature and it will be available in builds later this year. For now the DAT based workflow might be the way to go.

Varad

I just ran into the same issue when trying to create a variable font C++ TOP. Because these variable fonts have a variable number of parameters for controlling the axis, it doesn’t seem possible to make a variable number of parameters per font choice which is what you might need. I think I will get around this by putting my sliders on a base container that can modify per font, and then read in the parameters as a loose list into the C++ TOP as a string entry or something.