| 24 | } |
| 25 | |
| 26 | void TextureData::initFromPath(const std::string& path) |
| 27 | { |
| 28 | // Just set the path. It will be loaded later |
| 29 | mPath = path; |
| 30 | // Only textures with paths are reloadable |
| 31 | mReloadable = true; |
| 32 | } |
| 33 | |
| 34 | bool TextureData::initSVGFromMemory(const unsigned char* fileData, size_t length) |
| 35 | { |