Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
AssetComponent.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace shkyera {
7
8template <typename AssetType>
10 std::weak_ptr<AssetType> assetPtr{};
11 std::shared_ptr<AssetLoader<AssetType>> constructionFunction;
12
14};
15
16} // namespace shkyera
Definition Asset.hpp:6
Definition Mesh.cpp:16
Definition AssetComponent.hpp:9
std::weak_ptr< AssetType > assetPtr
Definition AssetComponent.hpp:10
std::shared_ptr< AssetLoader< AssetType > > constructionFunction
Definition AssetComponent.hpp:11
AssetComponent(std::unique_ptr< AssetLoader< AssetType > > constructor)
Definition AssetComponent.hpp:13
Definition Clock.hpp:9