yocto/yocto_gl.cpp
inline void dump(
        const glTFAnimationSamplerInterpolation& val, json& js, parse_stack& err) {
      static map<glTFAnimationSamplerInterpolation, string> table = {
          {glTFAnimationSamplerInterpolation::Linear, "LINEAR"},
          {glTFAnimationSamplerInterpolation::Step, "STEP"},
          {glTFAnimationSamplerInterpolation::CatmullRomSpline,
                                                      "CATMULLROMSPLINE"},
          {glTFAnimationSamplerInterpolation::CubicSpline, "CUBICSPLINE"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
// Converts a glTFAnimationSamplerInterpolation enum to JSON
Converts a glTFAnimationSamplerInterpolation enum to JSON
Converts a glTFAnimationSamplerInterpolation enum to JSON
inline void dump(
        const glTFAnimationSamplerInterpolation& val, json& js, parse_stack& err) {
      static map<glTFAnimationSamplerInterpolation, string> table = {
          {glTFAnimationSamplerInterpolation::Linear, "LINEAR"},
          {glTFAnimationSamplerInterpolation::Step, "STEP"},
          {glTFAnimationSamplerInterpolation::CatmullRomSpline,
                                                      "CATMULLROMSPLINE"},
          {glTFAnimationSamplerInterpolation::CubicSpline, "CUBICSPLINE"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
inline void dump ( const glTFAnimationSamplerInterpolation & val , json & js , parse_stack & err ) { static map < glTFAnimationSamplerInterpolation , string > table = { { glTFAnimationSamplerInterpolation :: Linear , " " } , { glTFAnimationSamplerInterpolation :: Step , " " } , { glTFAnimationSamplerInterpolation :: CatmullRomSpline , " " } , { glTFAnimationSamplerInterpolation :: CubicSpline , " " } , } ; auto v = table . at ( val ) ; dump ( v , js , err ) ; }
Converts a glTFAnimationSamplerInterpolation enum to JSON
Converts a glTFAnimationSamplerInterpolation enum to JSON