VideoCommon: add a pixel shader asset

This commit is contained in:
iwubcode
2023-06-29 00:56:06 -05:00
parent 61c45e8d68
commit 6ea49c6746
9 changed files with 310 additions and 0 deletions

View File

@ -11,6 +11,7 @@
namespace VideoCommon
{
class CustomTextureData;
struct PixelShaderData;
// This class provides functionality to load
// specific data (like textures). Where this data
@ -45,5 +46,8 @@ public:
// Loads a texture as a game texture, providing additional checks like confirming
// each mip level size is correct and that the format is consistent across the data
LoadInfo LoadGameTexture(const AssetID& asset_id, CustomTextureData* data);
// Loads a pixel shader
virtual LoadInfo LoadPixelShader(const AssetID& asset_id, PixelShaderData* data) = 0;
};
} // namespace VideoCommon