Plasma Engine  2.0
Loading...
Searching...
No Matches
plParticlePointRenderer Class Referencefinal

Implements rendering of particle systems. More...

#include <PointRenderer.h>

Inheritance diagram for plParticlePointRenderer:

Public Member Functions

virtual void GetSupportedRenderDataTypes (plHybridArray< const plRTTI *, 8 > &ref_types) const override
 
virtual void RenderBatch (const plRenderViewContext &renderContext, const plRenderPipelinePass *pPass, const plRenderDataBatch &batch) const override
 
- Public Member Functions inherited from plParticleRenderer
virtual void GetSupportedRenderDataCategories (plHybridArray< plRenderData::Category, 8 > &ref_categories) const override
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Protected Attributes

plGALBufferHandle m_hBaseDataBuffer
 
plGALBufferHandle m_hBillboardDataBuffer
 
- Protected Attributes inherited from plParticleRenderer
plShaderResourceHandle m_hShader
 

Static Protected Attributes

static const plUInt32 s_uiParticlesPerBatch = 1024
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Protected Member Functions inherited from plParticleRenderer
void CreateParticleDataBuffer (plGALBufferHandle &inout_hBuffer, plUInt32 uiDataTypeSize, plUInt32 uiNumParticlesPerBatch)
 
void DestroyParticleDataBuffer (plGALBufferHandle &inout_hBuffer)
 
void BindParticleShader (plRenderContext *pRenderContext, const char *szShader) const
 

Detailed Description

Implements rendering of particle systems.

Member Function Documentation

◆ GetSupportedRenderDataTypes()

void plParticlePointRenderer::GetSupportedRenderDataTypes ( plHybridArray< const plRTTI *, 8 > & ref_types) const
overridevirtual

Implements plRenderer.

◆ RenderBatch()

void plParticlePointRenderer::RenderBatch ( const plRenderViewContext & renderContext,
const plRenderPipelinePass * pPass,
const plRenderDataBatch & batch ) const
overridevirtual

Implements plRenderer.


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