diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-08-22 02:18:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 02:18:40 +0200 |
| commit | dbe6a5f7e4caca71de9d9ba86916f82c0bc21683 (patch) | |
| tree | 84fd8c6f664f1df62350f9d7b5aa9d110b6aee02 /Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h | |
| parent | 3451cb1ca2583f9c2b02d0d216355047787c134b (diff) | |
| parent | 55061216855af89f21eee1174fa81d927bc94991 (diff) | |
Merge pull request #11300 from iwubcode/custom-shaders
VideoCommon: add a graphics mod action that allows you to modify the game's base rendering
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h b/Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h new file mode 100644 index 0000000000..b38ba792cc --- /dev/null +++ b/Source/Core/VideoCommon/GraphicsModSystem/Config/GraphicsModAsset.h @@ -0,0 +1,18 @@ +// Copyright 2023 Dolphin Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include <string> + +#include <picojson.h> + +#include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h" + +struct GraphicsModAssetConfig +{ + std::string m_name; + VideoCommon::DirectFilesystemAssetLibrary::AssetMap m_map; + + bool DeserializeFromConfig(const picojson::object& obj); +}; |
