| 415 | } |
| 416 | |
| 417 | void ParticleBatchNode::removeAllChildrenWithCleanup(bool doCleanup) |
| 418 | { |
| 419 | for (const auto& child : _children) |
| 420 | static_cast<ParticleSystem*>(child)->setBatchNode(nullptr); |
| 421 | |
| 422 | Node::removeAllChildrenWithCleanup(doCleanup); |
| 423 | |
| 424 | _textureAtlas->removeAllQuads(); |
| 425 | } |
| 426 | |
| 427 | void ParticleBatchNode::draw(Renderer* renderer, const Mat4& transform, uint32_t flags) |
| 428 | { |
nothing calls this directly
no test coverage detected