yocto/yocto_gl.cpp
inline void dump(const glTFMaterialAlphaMode& val, json& js, parse_stack& err) {
      static map<glTFMaterialAlphaMode, string> table = {
          {glTFMaterialAlphaMode::Opaque, "OPAQUE"},
          {glTFMaterialAlphaMode::Mask, "MASK"},
          {glTFMaterialAlphaMode::Blend, "BLEND"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
// Converts a glTFMaterialAlphaMode enum to JSON
Converts a glTFMaterialAlphaMode enum to JSON
Converts a glTFMaterialAlphaMode enum to JSON
inline void dump(const glTFMaterialAlphaMode& val, json& js, parse_stack& err) {
      static map<glTFMaterialAlphaMode, string> table = {
          {glTFMaterialAlphaMode::Opaque, "OPAQUE"},
          {glTFMaterialAlphaMode::Mask, "MASK"},
          {glTFMaterialAlphaMode::Blend, "BLEND"},
      };
      auto v = table.at(val);
      dump(v, js, err);
    }
inline void dump ( const glTFMaterialAlphaMode & val , json & js , parse_stack & err ) { static map < glTFMaterialAlphaMode , string > table = { { glTFMaterialAlphaMode :: Opaque , " " } , { glTFMaterialAlphaMode :: Mask , " " } , { glTFMaterialAlphaMode :: Blend , " " } , } ; auto v = table . at ( val ) ; dump ( v , js , err ) ; }
Converts a glTFMaterialAlphaMode enum to JSON
Converts a glTFMaterialAlphaMode enum to JSON