Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::AssetComponent< AssetType > Struct Template Reference

#include <AssetComponent.hpp>

Public Member Functions

 AssetComponent (std::unique_ptr< AssetLoader< AssetType > > constructor)
 

Public Attributes

std::weak_ptr< AssetTypeassetPtr {}
 
std::shared_ptr< AssetLoader< AssetType > > constructionFunction
 

Constructor & Destructor Documentation

◆ AssetComponent()

template<typename AssetType >
shkyera::AssetComponent< AssetType >::AssetComponent ( std::unique_ptr< AssetLoader< AssetType > >  constructor)
inline

Member Data Documentation

◆ assetPtr

template<typename AssetType >
std::weak_ptr<AssetType> shkyera::AssetComponent< AssetType >::assetPtr {}

◆ constructionFunction

template<typename AssetType >
std::shared_ptr<AssetLoader<AssetType> > shkyera::AssetComponent< AssetType >::constructionFunction

The documentation for this struct was generated from the following file: