yocto/yocto_gl.cpp
inline void dump(
        const glTFAnimationChannelTargetPath& val, json& js, parse_stack& err) {
      static map<glTFAnimationChannelTargetPath, string> table = {
          {glTFAnimationChannelTargetPath::Translation, "translation"},
          {glTFAnimationChannelTargetPath::Rotation, "rotation"},
          {glTFAnimationChannelTargetPath::Scale, "scale"},
          {glTFAnimationChannelTargetPath::Weights, "weights"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
// Converts a glTFAnimationChannelTargetPath enum to JSON
Converts a glTFAnimationChannelTargetPath enum to JSON
Converts a glTFAnimationChannelTargetPath enum to JSON
inline void dump(
        const glTFAnimationChannelTargetPath& val, json& js, parse_stack& err) {
      static map<glTFAnimationChannelTargetPath, string> table = {
          {glTFAnimationChannelTargetPath::Translation, "translation"},
          {glTFAnimationChannelTargetPath::Rotation, "rotation"},
          {glTFAnimationChannelTargetPath::Scale, "scale"},
          {glTFAnimationChannelTargetPath::Weights, "weights"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
inline void dump ( const glTFAnimationChannelTargetPath & val , json & js , parse_stack & err ) { static map < glTFAnimationChannelTargetPath , string > table = { { glTFAnimationChannelTargetPath :: Translation , " " } , { glTFAnimationChannelTargetPath :: Rotation , " " } , { glTFAnimationChannelTargetPath :: Scale , " " } , { glTFAnimationChannelTargetPath :: Weights , " " } , } ; auto v = table . at ( val ) ; dump ( v , js , err ) ; }
Converts a glTFAnimationChannelTargetPath enum to JSON
Converts a glTFAnimationChannelTargetPath enum to JSON