friction2d / friction

Friction Graphics
https://friction.graphics
GNU General Public License v3.0
294 stars 14 forks source link

Add boolean/string parameter support #59

Open rodlie opened 1 year ago

rodlie commented 1 year ago

We need additional parameter support in Friction.

kaixoo commented 3 weeks ago

What's "boolean and string parameter support"?

rodlie commented 3 weeks ago

Properties parameters (src/core/Properties).

  1. We don't expose boolean parameters for shader plugins, this is needed
  2. We don't have string parameters for properties, this is needed for future functions/plugins
kaixoo commented 3 weeks ago

I guess this should be added to src/core/ShaderEffects/shadervaluehandler.h. I can add Boolean, String and Json/Url/File types, then handle it using QJSEngine?