Go to the source code of this file.
|
#define | SESE_DEF_RESOURCE(resClass, resName, resSize, resBuf) |
|
#define | SESE_MAKE_RESOURCE(resName, resBuf, resSize) std::make_shared<sese::res::Resource>(resName, resBuf, resSize) |
|
#define | SESE_DEF_RES_STREAM(streamClass, streamSize, streamBuf) |
|
#define | SESE_MAKE_RES_STREAM(streamBuf, streamSize) std::make_unique<sese::res::ResourceStream>(streamBuf, streamSize) |
|
#define | SESE_ADD_RES(resName, resSize, resBuf) this->resourceMap[resName] = SESE_MAKE_RESOURCE(resName, resBuf, resSize); |
|
#define | SESE_DEF_RES_MANAGER(managerName) |
|
#define | SESE_DEF_RES_MANAGER_END(managerName) |
|
◆ SESE_ADD_RES
#define SESE_ADD_RES |
( |
| resName, |
|
|
| resSize, |
|
|
| resBuf ) this->resourceMap[resName] = SESE_MAKE_RESOURCE(resName, resBuf, resSize); |
◆ SESE_DEF_RES_MANAGER
#define SESE_DEF_RES_MANAGER |
( |
| managerName | ) |
|
Value:
public: \
managerName() :
sese::res::ResourceManager() {
◆ SESE_DEF_RES_MANAGER_END
#define SESE_DEF_RES_MANAGER_END |
( |
| managerName | ) |
|
◆ SESE_DEF_RES_STREAM
#define SESE_DEF_RES_STREAM |
( |
| streamClass, |
|
|
| streamSize, |
|
|
| streamBuf ) |
Value:
public: \
streamClass() :
sese::res::ResourceStream(streamBuf, streamSize) {} \
};
◆ SESE_DEF_RESOURCE
#define SESE_DEF_RESOURCE |
( |
| resClass, |
|
|
| resName, |
|
|
| resSize, |
|
|
| resBuf ) |
Value:
public: \
resClass() :
sese::res::Resource(resBuf, resSize) {} \
}
◆ SESE_MAKE_RES_STREAM
◆ SESE_MAKE_RESOURCE
#define SESE_MAKE_RESOURCE |
( |
| resName, |
|
|
| resBuf, |
|
|
| resSize ) std::make_shared<sese::res::Resource>(resName, resBuf, resSize) |