mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-28 20:28:46 +00:00
VideoCommon: add function to serialize MaterialAsset to json
This commit is contained in:
parent
f2292467ad
commit
3a688aa35e
2 changed files with 64 additions and 11 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue