Magnum/Resource.h file

Class Magnum::ResourceKey, Magnum::Resource, enum Magnum::ResourceState.

Contents

Namespaces

namespace Magnum
Root namespace.
namespace std
STL namespace.

Classes

class Magnum::ResourceKey
Key for accessing resource.
template<class T, class U = T>
class Magnum::Resource
Resource reference.
template<>
struct std::hash<Magnum::ResourceKey>
std::hash specialization for Magnum::ResourceKey

Enums

enum class ResourceState: UnsignedByte { NotLoaded, NotLoadedFallback, Loading, LoadingFallback, NotFound, NotFoundFallback, Mutable, Final }
Resource state.

Functions

auto operator<<(Debug& debug, ResourceState value) -> Debug&
Debug output operator.
auto operator<<(Debug& debug, const ResourceKey& value) -> Debug&
Debug output operator.