diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-22 19:38:54 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-22 19:48:22 -0500 |
| commit | 6ec8e0ed8a504d09feb7fa8f03d58faf41490592 (patch) | |
| tree | d0b2fe0de82caf1fca986a8656bbaec40d921b27 /Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | |
| parent | 95781c9ac9e748d1658ea831b4b59a1810710583 (diff) | |
VideoCommon: update shader asset to support both vertex and pixel shaders; rename to 'RasterSurfaceShader'
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomAssetLibrary.h')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h index 2ab8da408c..10498618c6 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h +++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h @@ -3,9 +3,6 @@ #pragma once -#include <chrono> -#include <filesystem> -#include <map> #include <string> namespace VideoCommon @@ -13,7 +10,7 @@ namespace VideoCommon class CustomTextureData; struct MaterialData; struct MeshData; -struct PixelShaderData; +struct RasterSurfaceShaderData; struct TextureAndSamplerData; // This class provides functionality to load @@ -38,8 +35,9 @@ public: // Loads a texture, if there are no levels, bytes loaded will be empty virtual LoadInfo LoadTexture(const AssetID& asset_id, CustomTextureData* data) = 0; - // Loads a pixel shader - virtual LoadInfo LoadPixelShader(const AssetID& asset_id, PixelShaderData* data) = 0; + // Loads a raster surface shader + virtual LoadInfo LoadRasterSurfaceShader(const AssetID& asset_id, + RasterSurfaceShaderData* data) = 0; // Loads a material virtual LoadInfo LoadMaterial(const AssetID& asset_id, MaterialData* data) = 0; |
