From c3df930c38d64e64b2026e80c0ad2306a7eeff5f Mon Sep 17 00:00:00 2001 From: iwubcode Date: Thu, 27 Feb 2025 23:57:21 -0600 Subject: [PATCH] render target for custom asset library --- Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h index 865b28bf58..c89bb868a3 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h +++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h @@ -16,6 +16,7 @@ struct MeshData; struct PixelShaderData; struct RasterMaterialData; struct RasterShaderData; +struct RenderTargetData; struct TextureData; struct TextureAndSamplerData; @@ -51,5 +52,8 @@ public: // Loads a mesh virtual LoadInfo LoadMesh(const AssetID& asset_id, MeshData* data) = 0; + + // Loads a render target + virtual LoadInfo LoadRenderTarget(const AssetID& asset_id, RenderTargetData* data) = 0; }; } // namespace VideoCommon