Particle Universe
1.2
|
#include <ParticleUniverseRendererFactory.h>
Public Member Functions | |
ParticleRendererFactory (void) | |
virtual | ~ParticleRendererFactory (void) |
virtual String | getRendererType (void) const =0 |
virtual ParticleRenderer * | createRenderer (void)=0 |
void | destroyRenderer (ParticleRenderer *renderer) |
Public Member Functions inherited from ParticleUniverse::ScriptReader | |
ScriptReader (void) | |
virtual | ~ScriptReader (void) |
virtual void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node) |
virtual bool | translateChildProperty (ScriptCompiler *compiler, const AbstractNodePtr &node) |
virtual bool | translateChildObject (ScriptCompiler *compiler, const AbstractNodePtr &node) |
Public Member Functions inherited from ParticleUniverse::ScriptWriter | |
ScriptWriter (void) | |
virtual | ~ScriptWriter (void) |
virtual void | write (ParticleScriptSerializer *serializer, const IElement *element)=0 |
Protected Member Functions | |
template<class T > | |
ParticleRenderer * | _createRenderer (void) |
This is the base factory of all ParticleRenderer implementations.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Creates a new renderer instance.
Implemented in ParticleUniverse::BeamRendererFactory, ParticleUniverse::BillboardRendererFactory, ParticleUniverse::BoxRendererFactory, ParticleUniverse::EntityRendererFactory, ParticleUniverse::LightRendererFactory, ParticleUniverse::RibbonTrailRendererFactory, and ParticleUniverse::SphereRendererFactory.
|
inline |
Delete a renderer.
|
pure virtual |
Returns the type of the factory, which identifies the particle Renderer type this factory creates.
Implemented in ParticleUniverse::BeamRendererFactory, ParticleUniverse::BillboardRendererFactory, ParticleUniverse::BoxRendererFactory, ParticleUniverse::EntityRendererFactory, ParticleUniverse::LightRendererFactory, ParticleUniverse::RibbonTrailRendererFactory, and ParticleUniverse::SphereRendererFactory.