VideoCommon: add a pixel shader asset

This commit is contained in:
iwubcode 2023-06-29 00:56:06 -05:00 committed by Nayla Hanegan
commit fdae871a8d
No known key found for this signature in database
GPG key ID: 3075216CED0DB01D
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