Nebula
Loading...
Searching...
No Matches
particlecontext.cc File Reference
#include "particlecontext.h"
#include "graphics/graphicsserver.h"
#include "models/modelcontext.h"
#include "models/nodes/particlesystemnode.h"
#include "particles/emitterattrs.h"
#include "particles/emittermesh.h"
#include "particles/envelopesamplebuffer.h"
#include "graphics/cameracontext.h"
#include "graphics/view.h"
#include "system_shaders/particle.h"

Namespaces

namespace  Particles
 Particle context controls playing and enabling/disabling of particle emitters inside a model.
 

Functions

 Particles::__ImplementContext (ParticleContext, ParticleContext::particleContextAllocator)
 
void Particles::JobStep (const ParticleJobUniformData *perSystemUniforms, const float stepTime, unsigned int numParticles, const Particle *particles_input, Particle *particles_output, ParticleJobSliceOutputData *sliceOutput)
 update particle system step
 

Variables

const Timing::Time Particles::DefaultStepTime = 1.0f / 60.0f
 
Timing::Time Particles::StepTime = 1.0f / 60.0f
 
const SizeT Particles::ParticleContextNumEnvelopeSamples = 192
 
Threading::AtomicCounter Particles::allSystemsCompleteCounter = 0
 
struct { 
 
   CoreGraphics::BufferId   Particles::geometryVbo 
 
   CoreGraphics::BufferId   Particles::geometryIbo 
 
   Util::FixedArray< CoreGraphics::BufferId >   Particles::vbos 
 
   Util::FixedArray< SizeT >   Particles::vboSizes 
 
   Util::FixedArray< byte * >   Particles::mappedVertices 
 
   byte *   Particles::vertexPtr 
 
   SizeT   Particles::vertexSize 
 
   Util::Array< CoreGraphics::VertexComponent >   Particles::particleComponents 
 
   CoreGraphics::VertexLayoutId   Particles::layout 
 
   CoreGraphics::PrimitiveGroup   Particles::primGroup 
 
   SizeT   Particles::numParticlesThisFrame 
 
Particles::state