mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoCommon: make mesh asset data loadable by asset loader
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user