Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::ParticleRenderer Class Referenceabstract

Graphics class that represents the rendering of the particle. More...

Inheritance diagram for Nz::ParticleRenderer:
Nz::RefCounted Nz::ParticleFunctionRenderer

Public Member Functions

 ParticleRenderer (const ParticleRenderer &renderer)
 Constructs a ParticleRenderer object by assignation. More...
 
virtual ~ParticleRenderer ()
 Destructs the object and calls OnParticleRendererRelease. More...
 
virtual void Render (const ParticleGroup &system, const ParticleMapper &mapper, unsigned int startId, unsigned int endId, AbstractRenderQueue *renderQueue)=0
 
 NazaraSignal (OnParticleRendererRelease, const ParticleRenderer *)
 
- Public Member Functions inherited from Nz::RefCounted
 RefCounted (bool persistent=true)
 Constructs a RefCounted object with a persistance aspect. More...
 
 RefCounted (const RefCounted &)=delete
 
 RefCounted (RefCounted &&)=default
 
virtual ~RefCounted ()
 Destructs the object. More...
 
void AddReference () const
 Adds a reference to the object.
 
unsigned int GetReferenceCount () const
 Gets the number of references to the object. More...
 
bool IsPersistent () const
 Checks whether the object is persistent. More...
 
bool RemoveReference () const
 Removes a reference to the object. More...
 
bool SetPersistent (bool persistent=true, bool checkReferenceCount=false)
 Sets the persistence of the object. More...
 
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedoperator= (RefCounted &&)=default
 

Friends

class Graphics
 

Detailed Description

Graphics class that represents the rendering of the particle.

Constructor & Destructor Documentation

◆ ParticleRenderer()

Nz::ParticleRenderer::ParticleRenderer ( const ParticleRenderer renderer)

Constructs a ParticleRenderer object by assignation.

Parameters
rendererParticleRenderer to copy into this

◆ ~ParticleRenderer()

Nz::ParticleRenderer::~ParticleRenderer ( )
virtual

Destructs the object and calls OnParticleRendererRelease.

See also
OnParticleRendererRelease

The documentation for this class was generated from the following files: