VideoCommon: make mesh asset data loadable by asset loader

This commit is contained in:
iwubcode
2024-02-12 18:42:01 -06:00
parent aa66842172
commit 2ab877586d
7 changed files with 147 additions and 0 deletions

View File

@ -57,4 +57,13 @@ struct MeshData
std::map<std::string, CustomAssetLibrary::AssetID, std::less<>>
m_mesh_material_to_material_asset_id;
};
class MeshAsset final : public CustomLoadableAsset<MeshData>
{
public:
using CustomLoadableAsset::CustomLoadableAsset;
private:
CustomAssetLibrary::LoadInfo LoadImpl(const CustomAssetLibrary::AssetID& asset_id) override;
};
} // namespace VideoCommon