yocto/yocto_gl.cpp
inline void dump(const glTFTexture* val, json& js, parse_stack& err) {
      if (!js.is_object()) js = json::object();
      dump((const glTFChildOfRootProperty*)val, js, err);
      if (val->sampler.is_valid()) dump_attr(val->sampler, "sampler", js, err);
      if (val->source.is_valid()) dump_attr(val->source, "source", js, err);
    }
// Converts a glTFTexture object to JSON
Converts a glTFTexture object to JSON
Converts a glTFTexture object to JSON
inline void dump(const glTFTexture* val, json& js, parse_stack& err) {
      if (!js.is_object()) js = json::object();
      dump((const glTFChildOfRootProperty*)val, js, err);
      if (val->sampler.is_valid()) dump_attr(val->sampler, "sampler", js, err);
      if (val->source.is_valid()) dump_attr(val->source, "source", js, err);
    }
inline void dump ( const glTFTexture * val , json & js , parse_stack & err ) { if ( ! js . is_object ( ) ) js = json :: object ( ) ; dump ( ( const glTFChildOfRootProperty * ) val , js , err ) ; if ( val -> sampler . is_valid ( ) ) dump_attr ( val -> sampler , " " , js , err ) ; if ( val -> source . is_valid ( ) ) dump_attr ( val -> source , " " , js , err ) ; }
Converts a glTFTexture object to JSON
Converts a glTFTexture object to JSON