Simple TMP struct that associates resource information to given type T .
Extends std::false_type
by default to indicate that it is not specialized for a specific type. Specializations need to extend std::true_type
instead.
T | The type to define resource information for. |
Definition at line 290 of file resources.hpp.
#include <resources.hpp>
Public Static Method Index: | |
static constexpr NString | Category () |
static constexpr NString | Name () |
static constexpr ResourcePool * | Pool () |
|
inlinestaticconstexpr |
Returns a resource category associated with T .
Definition at line 302 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a resource name associated with T .
Definition at line 308 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a pointer to the resource pool associated with T .
Definition at line 296 of file resources.hpp.