VideoCommon: add ability to serialize a texture asset metadata to json

This commit is contained in:
iwubcode
2024-06-11 20:25:40 -05:00
parent 1c3402502b
commit 36ccbbc06e
2 changed files with 56 additions and 0 deletions

View File

@ -17,6 +17,7 @@ struct TextureData
{
static bool FromJson(const CustomAssetLibrary::AssetID& asset_id, const picojson::object& json,
TextureData* data);
static void ToJson(picojson::object* obj, const TextureData& data);
enum class Type
{
Type_Undefined,