|
| void | init (uint16_t _maxEmitters, bx::AllocatorI *_allocator) |
| |
| void | shutdown () |
| |
| void | renderEmitterById (EmitterHandle _handle, uint8_t _view, bgfx::ProgramHandle _program, const float *_mtxView, const math::vec3 &_eye, bgfx::TextureHandle _texture) |
| |
| void | generateInstanceData (Emitter &emitter, bgfx::InstanceDataBuffer &idb, uint32_t maxInstances, uint16_t instanceStride, const math::vec3 &_eye) |
| |
| uint32_t | renderEmitterBatch (const EmitterHandle *_handles, uint32_t _count, uint8_t _view, bgfx::ProgramHandle _program, const float *_mtxView, const math::vec3 &_eye, bgfx::TextureHandle _texture) |
| |
| void | generateBatchedInstanceData (const EmitterHandle *_handles, uint32_t _count, bgfx::InstanceDataBuffer &idb, uint32_t maxInstances, uint16_t instanceStride, const math::vec3 &_eye) |
| |
| EmitterHandle | createEmitter (EmitterShape::Enum _shape, EmitterDirection::Enum _direction, uint32_t _maxParticles) |
| |
| void | updateEmitter (EmitterHandle _handle, float _dt, EmitterUniforms *_uniforms) |
| |
| void | getAabb (EmitterHandle _handle, math::bbox &_outAabb) |
| |
| uint32_t | getNumParticles (EmitterHandle _handle) |
| |
| bool | hasUpdated (EmitterHandle _handle) |
| |
| void | destroyEmitter (EmitterHandle _handle) |
| |
Definition at line 652 of file particle_system.cpp.
◆ batchedParticleSortFn()
| static int32_t ps::ParticleSystem::batchedParticleSortFn |
( |
const void * | _lhs, |
|
|
const void * | _rhs ) |
|
inlinestatic |
◆ createEmitter()
◆ destroyEmitter()
◆ generateBatchedInstanceData()
| void ps::ParticleSystem::generateBatchedInstanceData |
( |
const EmitterHandle * | _handles, |
|
|
uint32_t | _count, |
|
|
bgfx::InstanceDataBuffer & | idb, |
|
|
uint32_t | maxInstances, |
|
|
uint16_t | instanceStride, |
|
|
const math::vec3 & | _eye ) |
|
inline |
◆ generateInstanceData()
| void ps::ParticleSystem::generateInstanceData |
( |
Emitter & | emitter, |
|
|
bgfx::InstanceDataBuffer & | idb, |
|
|
uint32_t | maxInstances, |
|
|
uint16_t | instanceStride, |
|
|
const math::vec3 & | _eye ) |
|
inline |
◆ getAabb()
◆ getNumParticles()
| uint32_t ps::ParticleSystem::getNumParticles |
( |
EmitterHandle | _handle | ) |
|
|
inline |
◆ hasUpdated()
◆ init()
| void ps::ParticleSystem::init |
( |
uint16_t | _maxEmitters, |
|
|
bx::AllocatorI * | _allocator ) |
|
inline |
◆ renderEmitterBatch()
| uint32_t ps::ParticleSystem::renderEmitterBatch |
( |
const EmitterHandle * | _handles, |
|
|
uint32_t | _count, |
|
|
uint8_t | _view, |
|
|
bgfx::ProgramHandle | _program, |
|
|
const float * | _mtxView, |
|
|
const math::vec3 & | _eye, |
|
|
bgfx::TextureHandle | _texture ) |
|
inline |
◆ renderEmitterById()
| void ps::ParticleSystem::renderEmitterById |
( |
EmitterHandle | _handle, |
|
|
uint8_t | _view, |
|
|
bgfx::ProgramHandle | _program, |
|
|
const float * | _mtxView, |
|
|
const math::vec3 & | _eye, |
|
|
bgfx::TextureHandle | _texture ) |
|
inline |
◆ shutdown()
| void ps::ParticleSystem::shutdown |
( |
| ) |
|
|
inline |
◆ updateEmitter()
◆ m_allocator
| bx::AllocatorI* ps::ParticleSystem::m_allocator |
◆ m_emitter
| std::vector<Emitter> ps::ParticleSystem::m_emitter |
◆ m_emitterAlloc
| bx::HandleAlloc* ps::ParticleSystem::m_emitterAlloc |
◆ m_quadIBH
| bgfx::IndexBufferHandle ps::ParticleSystem::m_quadIBH |
◆ m_quadVBH
| bgfx::VertexBufferHandle ps::ParticleSystem::m_quadVBH |
◆ s_texColor
| bgfx::UniformHandle ps::ParticleSystem::s_texColor |
The documentation for this struct was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/particles/ps/particle_system.cpp