Go to the source code of this file.
|
namespace | Resources |
| A resource is a container for some type of file which is loaded.
|
|
◆ RESOURCE_ID_TYPE
#define RESOURCE_ID_TYPE |
( |
| type | ) |
|
Value:
constexpr type() {};\
constexpr type(
const Resources::ResourceId& res) :
Resources::ResourceUnknownId(res.resourceId, res.generation) {};\
}; \
static constexpr type
Invalid##type = Resources::InvalidResourceUnknownId;
This simple Id pool implements a set of free and used consecutive integers.
Definition id.h:135
uint32_t Id24
Definition id.h:139
uint8_t Id8
Definition id.h:141
uint32_t Id32
Definition id.h:138
A resource is a container for some type of file which is loaded.
Definition resource.cc:9
id
Definition resourceid.h:37
Definition resourceid.h:37