A particle renderer.
More...
#include <ParticleRenderer.h>
◆ ParticleRenderer()
ParticleRenderer::ParticleRenderer |
( |
| ) |
|
◆ ~ParticleRenderer()
ParticleRenderer::~ParticleRenderer |
( |
| ) |
|
|
virtual |
◆ CopyAttributesTo()
Copies the renderer attributes to other renderer.
- Parameters
-
[out] | renderer | The renderer to copy the attributes to. |
Reimplemented in ParticleEntityRenderer.
◆ GetParentTechnique()
Sets the renderer particle technique.
- Returns
- The renderer particle technique.
◆ GetRendererType()
const Ogre::String & ParticleRenderer::GetRendererType |
( |
| ) |
const |
Retrieves the renderer type.
- Returns
- The renderer type.
◆ Initialize()
virtual void ParticleRenderer::Initialize |
( |
| ) |
|
|
pure virtual |
◆ IsRendererInitialised()
bool ParticleRenderer::IsRendererInitialised |
( |
| ) |
const |
Checks the renderer initialization status.
- Returns
- True if the renderer is initialized, false if not.
◆ SetParentTechnique()
Sets the renderer parent technique.
- Parameters
-
[in] | parent_technique | Parent technique for the renderer. |
◆ SetRendererInitialised()
void ParticleRenderer::SetRendererInitialised |
( |
bool |
renderer_initialised | ) |
|
Toggles renderer initialization state.
- Parameters
-
[in] | renderer_initialised | True to mark the renderer as initialized, false to mark it as not initialized. |
◆ SetRendererType()
void ParticleRenderer::SetRendererType |
( |
Ogre::String |
renderer_type | ) |
|
Sets the renderer type.
- Parameters
-
[in] | renderer_type | The renderer type. |
◆ SetVisible()
virtual void ParticleRenderer::SetVisible |
( |
bool |
visible = true | ) |
|
|
pure virtual |
Toggles the visibility of the particle renderer.
- Parameters
-
[in] | visible | True to make th renderer visibible, false to make it invisible. |
Implemented in ParticleEntityRenderer.
◆ UpdateRenderQueue()
Adds the particle to the scene render queue.
- Parameters
-
[in] | queue | Unused |
[in] | pool | The particle pool. |
Implemented in ParticleEntityRenderer.
◆ parent_technique_
The renderer particle tchnique.
◆ renderer_initialized_
bool ParticleRenderer::renderer_initialized_ |
|
protected |
Indicates if the renderer has been initialized.
◆ renderer_type_
Ogre::String ParticleRenderer::renderer_type_ |
|
protected |
The documentation for this class was generated from the following files: