Memory management element for the ParticleBuffer.
More...
Memory management element for the ParticleBuffer.
◆ Block()
G3D::ParticleSystem::Block::Block |
( |
const shared_ptr< ParticleSystem > & |
ps, |
|
|
const shared_ptr< ParticleSurface > & |
s, |
|
|
int |
startIndex, |
|
|
int |
reserve |
|
) |
| |
|
inline |
◆ count
int G3D::ParticleSystem::Block::count |
Number of elements currently in use.
◆ particleSystem
◆ reserve
int G3D::ParticleSystem::Block::reserve |
Total size (in elements) reserved, including the count that are in use.
◆ startIndex
int G3D::ParticleSystem::Block::startIndex |
◆ surface
If nullptr, this block may be garbage collected.