Blender
V3.3
|
#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 41 of file scene/particles.cpp.
ParticleSystemManager::~ParticleSystemManager | ( | ) |
Definition at line 46 of file scene/particles.cpp.
void ParticleSystemManager::device_free | ( | Device * | device, |
DeviceScene * | dscene | ||
) |
Definition at line 121 of file scene/particles.cpp.
References device_vector< T >::free(), and DeviceScene::particles.
Referenced by Scene::free_memory().
void ParticleSystemManager::device_update | ( | Device * | device, |
DeviceScene * | dscene, | ||
Scene * | scene, | ||
Progress & | progress | ||
) |
Definition at line 94 of file scene/particles.cpp.
References need_update(), scene, time, and Scene::update_stats.
Referenced by Scene::device_update().
void ParticleSystemManager::device_update_particles | ( | Device * | device, |
DeviceScene * | dscene, | ||
Scene * | scene, | ||
Progress & | progress | ||
) |
Definition at line 50 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(), float3_to_float4(), Progress::get_cancel(), KernelParticle::index, Particle::index, KernelParticle::lifetime, Particle::lifetime, KernelParticle::location, Particle::location, Scene::particle_systems, DeviceScene::particles, ParticleSystem::particles, KernelParticle::rotation, Particle::rotation, scene, KernelParticle::size, Particle::size, ParticleData::size, KernelParticle::velocity, and Particle::velocity.
bool ParticleSystemManager::need_update | ( | ) | const |
Definition at line 131 of file scene/particles.cpp.
Referenced by device_update(), and Scene::need_data_update().
Definition at line 126 of file scene/particles.cpp.
Referenced by Scene::create_node(), Scene::delete_node_impl(), Scene::delete_nodes(), Scene::reset(), and ParticleSystem::tag_update().