diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-07-09 04:20:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-09 04:20:43 +0200 |
| commit | 7bb04ff1dc7c528c794694edcc9802667345a6e3 (patch) | |
| tree | 0b77ca24370d95f7189def33f457c72d2f8eb0b2 /Source/Core/VideoCommon/GraphicsModSystem | |
| parent | 1e7268c04b0c0be31ba2f2993695692208a102cb (diff) | |
| parent | 0539bb4a3ea4afed58c2a43a98c51baea760815d (diff) | |
Merge pull request #12022 from iwubcode/texture_create_gmod_impl
VideoCommon: call into graphics mods create texture callback
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <string_view> +#include <vector> #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<VideoCommon::CachedAsset<VideoCommon::GameTextureAsset>>* custom_textures; + + // Dependencies needed to reload the texture and trigger this create again + std::vector<VideoCommon::CachedAsset<VideoCommon::CustomAsset>>* additional_dependencies; }; } // namespace GraphicsModActionData |
