VideoCommon: call into graphics mods create texture callback, providing additional asset dependencies that trigger the texture to be reloaded

This commit is contained in:
iwubcode
2023-07-02 13:35:05 -05:00
parent 6d7bf60071
commit 0539bb4a3e
3 changed files with 54 additions and 0 deletions

View File

@ -168,6 +168,7 @@ struct TCacheEntry
std::string texture_info_name = "";
std::vector<VideoCommon::CachedAsset<VideoCommon::GameTextureAsset>> linked_game_texture_assets;
std::vector<VideoCommon::CachedAsset<VideoCommon::CustomAsset>> linked_asset_dependencies;
explicit TCacheEntry(std::unique_ptr<AbstractTexture> tex,
std::unique_ptr<AbstractFramebuffer> fb);