#include <C4Particles.h>
Public Member Functions | |
| C4ParticleChunk () | |
| C4ParticleChunk (const C4ParticleChunk &)=delete | |
| C4ParticleChunk & | operator= (const C4ParticleChunk &)=delete |
| ~C4ParticleChunk () | |
| void | Clear () |
| bool | Exec (C4Object *obj, float timeDelta) |
| void | Draw (C4TargetFacet cgo, C4Object *obj, C4ShaderCall &call, int texUnit, const StdProjectionMatrix &modelview) |
| bool | IsOfType (C4ParticleDef *def, uint32_t _blitMode, uint32_t attachment) const |
| bool | IsEmpty () const |
| C4Particle * | AddNewParticle () |
| void | ReserveSpace (uint32_t forAmount) |
Friends | |
| class | C4ParticleList |
Definition at line 340 of file C4Particles.h.
|
inline |
Definition at line 363 of file C4Particles.h.
|
delete |
|
inline |
Definition at line 370 of file C4Particles.h.
References Clear().
| C4Particle * C4ParticleChunk::AddNewParticle | ( | ) |
Definition at line 1117 of file C4Particles.cpp.
References C4Particle::C4Particle(), C4Particle::drawingData, C4Particle::DrawingData::SetPointer(), and C4Particle::DrawingData::vertexCountPerParticle.
Referenced by C4ParticleSystem::Create().
| void C4ParticleChunk::Clear | ( | ) |
Definition at line 960 of file C4Particles.cpp.
Referenced by ~C4ParticleChunk().
| void C4ParticleChunk::Draw | ( | C4TargetFacet | cgo, |
| C4Object * | obj, | ||
| C4ShaderCall & | call, | ||
| int | texUnit, | ||
| const StdProjectionMatrix & | modelview | ||
| ) |
Definition at line 1001 of file C4Particles.cpp.
References C4ATTACH_MoveRelative, C4GFXBLIT_ADDITIVE, C4SSA_Color, C4SSA_Position, C4SSA_TexCoord, C4SSU_ModelViewMatrix, fixtof(), CStdGL::GenVAOID(), C4ShaderCall::GetAttribute(), C4Object::GetFixedX(), C4Object::GetFixedY(), C4ParticleSystem::GetIBO(), CStdGL::GetVAO(), CStdGL::ObjectLabel(), Particles, pGL, C4ShaderCall::SetUniformMatrix4x4(), C4TexRef::texName, and Translate().
| bool C4ParticleChunk::Exec | ( | C4Object * | obj, |
| float | timeDelta | ||
| ) |
Definition at line 988 of file C4Particles.cpp.
References C4Particle::Exec().
Referenced by C4ParticleList::Exec().
|
inline |
Definition at line 379 of file C4Particles.h.
| bool C4ParticleChunk::IsOfType | ( | C4ParticleDef * | def, |
| uint32_t | _blitMode, | ||
| uint32_t | attachment | ||
| ) | const |
Definition at line 1083 of file C4Particles.cpp.
Referenced by C4ParticleList::GetFittingParticleChunk().
|
delete |
| void C4ParticleChunk::ReserveSpace | ( | uint32_t | forAmount | ) |
Definition at line 1099 of file C4Particles.cpp.
References C4Particle::drawingData, C4Particle::DrawingData::SetPointer(), and C4Particle::DrawingData::vertexCountPerParticle.
Referenced by C4ParticleSystem::Create().
|
friend |
Definition at line 386 of file C4Particles.h.