Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Particle::CParticleInstancingSystem Class Reference

Internal system that updates the GPU instancing buffer with current particle data. More...

#include <ParticleSystem/Particles/Systems/CParticleInstancingSystem.h>

Inheritance diagram for Skylicht::Particle::CParticleInstancingSystem:
Skylicht::Particle::ISystem

Public Member Functions

virtual void update (CParticle *particles, int num, CGroup *group, float dt)
 Fills the GPU instancing buffer.
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.

Detailed Description

Internal system that updates the GPU instancing buffer with current particle data.

Fills the SParticleInstance array with data for hardware-accelerated rendering.

Member Function Documentation

◆ update()

virtual void Skylicht::Particle::CParticleInstancingSystem::update ( CParticle * particles,
int num,
CGroup * group,
float dt )
virtual

Fills the GPU instancing buffer.

Implements Skylicht::Particle::ISystem.


The documentation for this class was generated from the following file: