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