summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2023-07-10 22:23:32 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2023-08-20 18:53:27 -0500
commit55061216855af89f21eee1174fa81d927bc94991 (patch)
treefc765e787f93f1d34d9fc1ee7c598e528955d49f /Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions
parent6ea0d178026f105bc4a27344bb6b867aac6109e0 (diff)
VideoCommon: add support to graphics mod manager to load in assets and pass it to graphics actions
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h
index 6de0af8afe..4760da3124 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h
@@ -26,8 +26,9 @@ public:
std::string m_pixel_material_asset;
};
- static std::unique_ptr<CustomPipelineAction> Create(const picojson::value& json_data,
- std::string_view path);
+ static std::unique_ptr<CustomPipelineAction>
+ Create(const picojson::value& json_data,
+ std::shared_ptr<VideoCommon::CustomAssetLibrary> library);
CustomPipelineAction(std::shared_ptr<VideoCommon::CustomAssetLibrary> library,
std::vector<PipelinePassPassDescription> pass_descriptions);
~CustomPipelineAction();