|
Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
| float | time () const |
| int | particleCount () const |
| int | particleDataCount () const |
| VoxelParticleData * | particleData (int index) |
| std::vector< VoxelParticleData > & | particleDataVector () |
| void | addParticle (const VoxelParticleSetup &particleSetup, const VoxelCluster *creator) |
| void | removeParticle (int index) |
| void | update (float deltaSec) |
| void | draw (const Camera &camera) |
Protected Attributes | |
| float | m_time |
| bool | m_initialized |
|
std::unique_ptr < VoxelParticleRenderer > | m_renderer |
|
std::unique_ptr < VoxelParticleRemover > | m_remover |
| std::vector< VoxelParticleData > | m_cpuParticleBuffer |
| std::stack< int > | m_freeParticleBufferIndices |
| bool | m_gpuParticleBufferInvalid |
| int | m_gpuParticleBufferInvalidBegin |
| int | m_gpuParticleBufferInvalidEnd |