From 0539bb4a3ea4afed58c2a43a98c51baea760815d Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 2 Jul 2023 13:35:05 -0500 Subject: VideoCommon: call into graphics mods create texture callback, providing additional asset dependencies that trigger the texture to be reloaded --- .../GraphicsModSystem/Runtime/GraphicsModActionData.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h') diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h index 48de0e5368..2b1408dcc9 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h @@ -4,9 +4,11 @@ #pragma once #include +#include #include "Common/CommonTypes.h" #include "Common/Matrix.h" +#include "VideoCommon/Assets/TextureAsset.h" namespace GraphicsModActionData { @@ -34,5 +36,12 @@ struct TextureLoad }; struct TextureCreate { + std::string_view texture_name; + u32 texture_width; + u32 texture_height; + std::vector>* custom_textures; + + // Dependencies needed to reload the texture and trigger this create again + std::vector>* additional_dependencies; }; } // namespace GraphicsModActionData -- cgit v1.2.3