Magnum::ResourceKey class

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)
template<std::size_t size>
ResourceKey(const char(&key)[size]) constexpr

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.