|
Blender V5.0
|
#include <particles.h>
Public Member Functions | |
| ParticleSystemManager () | |
| ~ParticleSystemManager () | |
| void | device_update_particles (Device *device, DeviceScene *dscene, Scene *scene, Progress &progress) |
| void | device_update (Device *device, DeviceScene *dscene, Scene *scene, Progress &progress) |
| void | device_free (Device *device, DeviceScene *dscene) |
| void | tag_update (Scene *scene) |
| bool | need_update () const |
Definition at line 46 of file particles.h.
| ParticleSystemManager::ParticleSystemManager | ( | ) |
Definition at line 34 of file scene/particles.cpp.
|
default |
| void ParticleSystemManager::device_free | ( | Device * | device, |
| DeviceScene * | dscene ) |
Definition at line 116 of file scene/particles.cpp.
References device_vector< T >::free(), and DeviceScene::particles.
Referenced by device_update().
| void ParticleSystemManager::device_update | ( | Device * | device, |
| DeviceScene * | dscene, | ||
| Scene * | scene, | ||
| Progress & | progress ) |
Definition at line 87 of file scene/particles.cpp.
References device_free(), device_update_particles(), Progress::get_cancel(), LOG_INFO, need_update(), Scene::particle_systems, Progress::set_status(), unique_ptr_vector< T >::size(), timer, and Scene::update_stats.
| void ParticleSystemManager::device_update_particles | ( | Device * | device, |
| DeviceScene * | dscene, | ||
| Scene * | scene, | ||
| Progress & | progress ) |
Definition at line 41 of file scene/particles.cpp.
References KernelParticle::age, Particle::age, device_vector< T >::alloc(), KernelParticle::angular_velocity, Particle::angular_velocity, device_vector< T >::copy_to_device(), Progress::get_cancel(), i, KernelParticle::index, Particle::index, KernelParticle::lifetime, Particle::lifetime, KernelParticle::location, Particle::location, make_float4, Scene::particle_systems, DeviceScene::particles, ParticleSystem::particles, KernelParticle::rotation, Particle::rotation, KernelParticle::size, Particle::size, ParticleData::size, unique_ptr_vector< T >::size(), KernelParticle::velocity, and Particle::velocity.
Referenced by device_update().
| bool ParticleSystemManager::need_update | ( | ) | const |
Definition at line 126 of file scene/particles.cpp.
Referenced by device_update().
| void ParticleSystemManager::tag_update | ( | Scene * | scene | ) |
Definition at line 121 of file scene/particles.cpp.