| 459 | } |
| 460 | |
| 461 | void ParticleBatchNode::increaseAtlasCapacityTo(ssize_t quantity) |
| 462 | { |
| 463 | AXLOGD("axmol: ParticleBatchNode: resizing TextureAtlas capacity from [{}] to [{}].", |
| 464 | (int)_textureAtlas->getCapacity(), (int)quantity); |
| 465 | |
| 466 | if (!_textureAtlas->resizeCapacity(quantity)) |
| 467 | { |
| 468 | // serious problems |
| 469 | AXLOGW("axmol: WARNING: Not enough memory to resize the atlas"); |
| 470 | AXASSERT(false, "XXX: ParticleBatchNode #increaseAtlasCapacity SHALL handle this assert"); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | // sets a 0'd quad into the quads array |
| 475 | void ParticleBatchNode::disableParticle(int particleIndex) |
nothing calls this directly
no test coverage detected