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

@ -90,4 +90,11 @@ CustomAssetLoader::LoadGameTexture(const CustomAssetLibrary::AssetID& asset_id,
{
return LoadOrCreateAsset<GameTextureAsset>(asset_id, m_game_textures, std::move(library));
}
std::shared_ptr<PixelShaderAsset>
CustomAssetLoader::LoadPixelShader(const CustomAssetLibrary::AssetID& asset_id,
std::shared_ptr<CustomAssetLibrary> library)
{
return LoadOrCreateAsset<PixelShaderAsset>(asset_id, m_pixel_shaders, std::move(library));
}
} // namespace VideoCommon