#include <ParticleSystemImpl.hpp>
◆ Type
Particle system implementation types enumeration.
| Enumerator |
|---|
| eCpu | Particles are updated on CPU.
|
| eTransformFeedback | Particles are updated using Geometry shader and Transform feedback.
|
| eComputeShader | Particles are updated using a compute shader.
|
| eCount | |
| eMin | |
| eMax | |
◆ ParticleSystemImpl()
Constructor.
- Parameters
-
| [in] | type | The implementation type. |
| [in] | parent | The parent particle system. |
◆ ~ParticleSystemImpl()
| virtual C3D_API castor3d::ParticleSystemImpl::~ParticleSystemImpl |
( |
| ) |
|
|
virtual |
◆ addParticleVariable()
| virtual C3D_API void castor3d::ParticleSystemImpl::addParticleVariable |
( |
castor::String const & |
name, |
|
|
ParticleFormat |
type, |
|
|
castor::String const & |
defaultValue |
|
) |
| |
|
pure virtual |
◆ cleanup()
◆ getParent()
| ParticleSystem const & castor3d::ParticleSystemImpl::getParent |
( |
| ) |
const |
|
inline |
- Returns
- The parent particle system.
References m_parent.
◆ getType()
| Type castor3d::ParticleSystemImpl::getType |
( |
| ) |
|
|
inline |
- Returns
- The implementation type.
References m_type.
◆ initialise()
◆ update() [1/2]
◆ update() [2/2]
| virtual C3D_API uint32_t castor3d::ParticleSystemImpl::update |
( |
GpuUpdater & |
updater | ) |
|
|
pure virtual |
◆ m_parent
◆ m_type
| Type castor3d::ParticleSystemImpl::m_type |
|
protected |
The implementation type.
Referenced by getType().
The documentation for this class was generated from the following file: