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) {};\
constexpr type(
const Ids::Id24 id,
const Ids::Id8 generation) : Resources::ResourceUnknownId(
id, generation) {};\
constexpr type(
const Ids::Id32 id) : Resources::ResourceUnknownId(Ids::
Index(
id), Ids::Generation(
id)) {};\
}; \
static constexpr type
Invalid##type = Resources::InvalidResourceUnknownId;
@ Index
Definition config.h:196
@ Invalid
Definition vertexlayout.h:50
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