Lugdunum
0.1.0
|
Handle of the resource. It contains informations such as the type and the index in the ResourceManager's internal vector, i.e. the index of the Resource in this vector. More...
#include <Resource.hpp>
Public Member Functions | |
operator uint32_t () | |
bool | operator== (const Handle &other) const |
Public Attributes | |
union { | |
struct { | |
uint32_t type: 8 | |
Type of the ressource. More... | |
uint32_t index: 24 | |
Index of the Resource in the ResourceManager's internal storage. More... | |
} | |
uint32_t value | |
Access of the raw value of the above bytefield. More... | |
}; | |
Handle of the resource. It contains informations such as the type and the index in the ResourceManager's internal vector, i.e. the index of the Resource in this vector.
Definition at line 41 of file Resource.hpp.
|
inlineexplicit |
Definition at line 51 of file Resource.hpp.
|
inline |
Definition at line 55 of file Resource.hpp.
uint32_t lug::Graphics::Resource::Handle::type |
Type of the ressource.
Definition at line 44 of file Resource.hpp.
uint32_t lug::Graphics::Resource::Handle::index |
Index of the Resource in the ResourceManager's internal storage.
Definition at line 45 of file Resource.hpp.
uint32_t lug::Graphics::Resource::Handle::value |
Access of the raw value of the above bytefield.
Definition at line 48 of file Resource.hpp.
union { ... } |