mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
VideoCommon: add function to serialize MaterialAsset to json
This commit is contained in:
@ -34,6 +34,7 @@ struct MaterialData
|
||||
{
|
||||
static bool FromJson(const CustomAssetLibrary::AssetID& asset_id, const picojson::object& json,
|
||||
MaterialData* data);
|
||||
static void ToJson(picojson::object* obj, const MaterialData& data);
|
||||
std::string shader_asset;
|
||||
std::vector<MaterialProperty> properties;
|
||||
};
|
||||
|
Reference in New Issue
Block a user