Sese Framework
x.y.z
A cross-platform framework
|
宏定义 | |
#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) |
#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 | ) |
#define SESE_DEF_RES_STREAM | ( | streamClass, | |
streamSize, | |||
streamBuf ) |
#define SESE_DEF_RESOURCE | ( | resClass, | |
resName, | |||
resSize, | |||
resBuf ) |
#define SESE_MAKE_RES_STREAM | ( | streamBuf, | |
streamSize ) std::make_unique<sese::res::ResourceStream>(streamBuf, streamSize) |
被这些函数引用 sese::res::Resource::getStream().
#define SESE_MAKE_RESOURCE | ( | resName, | |
resBuf, | |||
resSize ) std::make_shared<sese::res::Resource>(resName, resBuf, resSize) |