Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor::ResourceMergerT< CacheT > Struct Template Reference

Cached resources merger. More...

#include <Resource.hpp>

Inheritance diagram for castor::ResourceMergerT< CacheT >:
Inheritance graph
[legend]
Collaboration diagram for castor::ResourceMergerT< CacheT >:
Collaboration graph
[legend]

Public Types

using ElementCacheT = typename CacheT::ElementCacheT
 
using ElementContT = typename CacheT::ElementContT
 
using ElementPtrT = typename CacheT::ElementPtrT
 

Public Member Functions

 ResourceMergerT (String name)
 
void operator() (ElementCacheT const &, ElementContT &destination, ElementPtrT element) const
 
- Public Member Functions inherited from castor::NamedBaseT< T >
 NamedBaseT (T name) noexcept
 Constructor.
 
T const & getName () const noexcept
 Retrieves the name.
 
void rename (T name) noexcept
 

Additional Inherited Members

- Protected Attributes inherited from castor::NamedBaseT< T >
m_name
 

Detailed Description

template<typename CacheT>
struct castor::ResourceMergerT< CacheT >

Cached resources merger.

Member Typedef Documentation

◆ ElementCacheT

template<typename CacheT >
using castor::ResourceMergerT< CacheT >::ElementCacheT = typename CacheT::ElementCacheT

◆ ElementContT

template<typename CacheT >
using castor::ResourceMergerT< CacheT >::ElementContT = typename CacheT::ElementContT

◆ ElementPtrT

template<typename CacheT >
using castor::ResourceMergerT< CacheT >::ElementPtrT = typename CacheT::ElementPtrT

Constructor & Destructor Documentation

◆ ResourceMergerT()

template<typename CacheT >
castor::ResourceMergerT< CacheT >::ResourceMergerT ( String name)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename CacheT >
void castor::ResourceMergerT< CacheT >::operator() ( ElementCacheT const & ,
ElementContT & destination,
ElementPtrT element ) const
inline

References cuT, and castor::NamedBaseT< T >::getName().

Here is the call graph for this function:

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