#include <resources.hpp>
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 294 of file resources.hpp.
Public Static Methods | |
static constexpr NString | Category () |
static constexpr NString | Name () |
static constexpr ResourcePool * | Pool () |
|
inlinestaticconstexpr |
Returns a resource category associated with T.
Definition at line 306 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a resource name associated with T.
Definition at line 312 of file resources.hpp.
|
inlinestaticconstexpr |
Returns a pointer to the resource pool associated with T.
Definition at line 300 of file resources.hpp.