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 283 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 291 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a resource name associated with T.
Definition at line 295 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a pointer to the resource pool associated with T.
Definition at line 287 of file resources.hpp.