class
#include <Magnum/Resource.h>
ResourceKey Key for accessing resource.
See ResourceManager for more information.
Constructors, destructors, conversion operators
- ResourceKey() constexpr
- Default constructor.
-
ResourceKey(std::
size_t key) explicit - Construct resource key directly from hashed value.
-
ResourceKey(const std::
string& key) - Constructor.
-
template<std::ResourceKey(const char(&key)[size]) constexpr
size_t size> - Constructor.
Function documentation
Magnum:: ResourceKey:: ResourceKey() constexpr
Default constructor.
Creates zero key. Note that it is not the same as calling other constructors with empty string.
Debug& operator<<(Debug& debug, const ResourceKey& value)
Debug output operator.