#include <Particle.h>
Particle Class tp store Particle Data for Renderables.
◆ Particle()
◆ ~Particle()
◆ AddParticleData()
Adds particle data to the list of data for instanced rendering
- Parameters
-
data | - The particle data to add |
◆ Bind()
Binds the VertexArray object held by the mesh along with the relevant vertex and index buffer.
Reimplemented from Renderable.
◆ ClearParticleData()
void Particle::ClearParticleData |
( |
| ) |
|
Clears the particle data vector
◆ GetParticleDataAmount()
u32 Particle::GetParticleDataAmount |
( |
| ) |
|
Gets the size of the particle data array
- Returns
- The size of the particle data array
◆ GetWorldMatrix()
glm::mat4 & Particle::GetWorldMatrix |
( |
| ) |
|
◆ PreallocParticleDataAmount()
void Particle::PreallocParticleDataAmount |
( |
u32 |
maxParticleData | ) |
|
Preallocates the particle data vector with a specified size
- Parameters
-
maxParticleData | - The maximum number of items in the world |
◆ Setup()
Sets a vertex Array Object with the vertex and indexbuffer values in this mesh class.
Reimplemented from Renderable.
◆ SetWorldMatrix()
void Particle::SetWorldMatrix |
( |
glm::mat4 |
mat | ) |
|
The documentation for this class was generated from the following files:
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/Particle.h
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/Particle.cpp