mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
VideoCommon: add function to serialize ShaderAsset to json
This commit is contained in:
parent
d1b4c5482c
commit
b5a6225e1a
5 changed files with 104 additions and 0 deletions
|
@ -52,6 +52,7 @@ struct PixelShaderData
|
|||
{
|
||||
static bool FromJson(const CustomAssetLibrary::AssetID& asset_id, const picojson::object& json,
|
||||
PixelShaderData* data);
|
||||
static void ToJson(picojson::object& obj, const PixelShaderData& data);
|
||||
|
||||
// These shader properties describe the input that the
|
||||
// shader expects to expose. The key is text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue