Plasma Engine  2.0
Loading...
Searching...
No Matches
plGridRenderer Class Reference
Inheritance diagram for plGridRenderer:

Public Member Functions

virtual void GetSupportedRenderDataTypes (plHybridArray< const plRTTI *, 8 > &ref_types) const override
 
virtual void GetSupportedRenderDataCategories (plHybridArray< plRenderData::Category, 8 > &ref_categories) const override
 
virtual void RenderBatch (const plRenderViewContext &renderContext, const plRenderPipelinePass *pPass, const plRenderDataBatch &batch) 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 Member Functions

void CreateVertexBuffer ()
 

Protected Attributes

plShaderResourceHandle m_hShader
 
plGALBufferHandle m_hVertexBuffer
 
plVertexDeclarationInfo m_VertexDeclarationInfo
 
plDynamicArray< GridVertex, plAlignedAllocatorWrapperm_Vertices
 

Static Protected Attributes

static constexpr plUInt32 s_uiBufferSize = 1024 * 8
 
static constexpr plUInt32 s_uiLineVerticesPerBatch = s_uiBufferSize / sizeof(GridVertex)
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Member Function Documentation

◆ GetSupportedRenderDataCategories()

void plGridRenderer::GetSupportedRenderDataCategories ( plHybridArray< plRenderData::Category, 8 > & ref_categories) const
overridevirtual

Implements plRenderer.

◆ GetSupportedRenderDataTypes()

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

Implements plRenderer.

◆ RenderBatch()

void plGridRenderer::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: