#define DEFAULT_PARTICLE_RENDERING_MODE
agx::TaskGroupRef m_renderTask
virtual const char * libraryName() const
agx::ParticleSystemObserver m_particleSystem
static ParticleRenderingMode getAllowedRenderMode()
Get the minimum allowed ParticleRenderingMode for the particles.
void setEnable(bool enable)
virtual osg::Object * clone(const osg::CopyOp &) const
ParticleSystemDrawable(agx::ParticleSystem *particleSystem, ParticleRenderingMode renderMode=DEFAULT_PARTICLE_RENDERING_MODE, ParticleShaderMode particleShaderMode=ROTATION_SPRITES)
ParticleShaderMode getParticleShaderMode() const
virtual osg::BoundingBox computeBound() const
Compute the bounding box around Drawables's geometry.
static void setAllowedRenderMode(ParticleRenderingMode mode)
Set the minimum allowed ParticleRenderingMode for the particles.
virtual bool isSameKindAs(const osg::Object *obj) const
ParticleRenderingMode m_renderMode
agx::ParticleSystem * getParticleSystem()
ParticleShaderMode m_particleShaderMode
virtual ~ParticleSystemDrawable()
virtual osg::Object * cloneType() const
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
The actual draw method for the particle system.
void setParticleShaderMode(ParticleShaderMode flag)
virtual const char * className() const
A basic particle system that contains all the storages and buffers required for basic operation and a...