![]() |
Skylicht Engine
|
Internal system that updates the CPU mesh buffer with current particle data for non-instanced rendering. More...
#include <ParticleSystem/Particles/Systems/CParticleCPUBufferSystem.h>
Public Member Functions | |
| virtual void | update (CParticle *particles, int num, CGroup *group, float dt) |
| Rebuilds the mesh buffer vertices based on particle positions. | |
| Public Member Functions inherited from Skylicht::Particle::ISystem | |
| void | setEnable (bool b) |
| Enables or disables the system. | |
| bool | isEnable () |
| Checks if the system is enabled. | |
Additional Inherited Members | |
| Protected Attributes inherited from Skylicht::Particle::ISystem | |
| bool | m_enable |
| Whether the system is active. | |
Internal system that updates the CPU mesh buffer with current particle data for non-instanced rendering.
Invoked by CGroup to fill the CParticleCPUBuffer with calculated quad vertices.
|
virtual |
Rebuilds the mesh buffer vertices based on particle positions.
Implements Skylicht::Particle::ISystem.