yocto/yocto_gl.cpp
inline void dump(const glTFSamplerMagFilter& val, json& js, parse_stack& err) {
      static map<glTFSamplerMagFilter, int> table = {
          {glTFSamplerMagFilter::Nearest, 9728},
          {glTFSamplerMagFilter::Linear, 9729},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
// Converts a glTFSamplerMagFilter enum to JSON
Converts a glTFSamplerMagFilter enum to JSON
Converts a glTFSamplerMagFilter enum to JSON
inline void dump(const glTFSamplerMagFilter& val, json& js, parse_stack& err) {
      static map<glTFSamplerMagFilter, int> table = {
          {glTFSamplerMagFilter::Nearest, 9728},
          {glTFSamplerMagFilter::Linear, 9729},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
inline void dump ( const glTFSamplerMagFilter & val , json & js , parse_stack & err ) { static map < glTFSamplerMagFilter , int > table = { { glTFSamplerMagFilter :: Nearest , 9728 } , { glTFSamplerMagFilter :: Linear , 9729 } , } ; auto v = table . at ( val ) ; dump ( v , js , err ) ; }
Converts a glTFSamplerMagFilter enum to JSON
Converts a glTFSamplerMagFilter enum to JSON