* init with FileImage */
| 120 | * init with FileImage |
| 121 | */ |
| 122 | bool ParticleBatchNode::initWithFile(std::string_view fileImage, int capacity) |
| 123 | { |
| 124 | Texture2D* tex = _director->getTextureCache()->addImage(fileImage); |
| 125 | return initWithTexture(tex, capacity); |
| 126 | } |
| 127 | |
| 128 | // ParticleBatchNode - composition |
| 129 |
no test coverage detected