Castor3D
..
|
Classes | |
class | castor3d::CacheBase< ElementType, KeyType > |
Classe de base pour un cache d'éléments. Plus de détails... | |
class | castor3d::Cache< ElementType, KeyType > |
Classe de base pour un cache d'éléments. Plus de détails... | |
Espaces de nommage | |
castor3d | |
Fonctions | |
template<typename ElementType , typename KeyType > | |
std::unique_ptr< Cache< ElementType, KeyType > > | castor3d::makeCache (Engine &engine, typename CacheTraits< ElementType, KeyType >::Producer &&produce, ElementInitialiser< ElementType > &&initialise=[](std::shared_ptr< ElementType >){}, ElementCleaner< ElementType > &&clean=[](std::shared_ptr< ElementType >){}, typename CacheTraits< ElementType, KeyType >::Merger &&merge=[](CacheBase< ElementType, KeyType > const &, castor::Collection< ElementType, KeyType > &, std::shared_ptr< ElementType >){}) |
Crée un cache. Plus de détails... | |
Variables | |
static const xchar * | castor3d::INFO_CACHE_CREATED_OBJECT = cuT( "Cache::create - Created " ) |
static const xchar * | castor3d::WARNING_CACHE_DUPLICATE_OBJECT = cuT( "Cache::create - Duplicate " ) |
static const xchar * | castor3d::WARNING_CACHE_NULL_OBJECT = cuT( "Cache::Insert - nullptr " ) |