XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGridRenderer Class Reference
Inheritance diagram for xiiGridRenderer:
[legend]

Public Member Functions

virtual void GetSupportedRenderDataTypes (xiiHybridArray< const xiiRTTI *, 8 > &ref_types) const override
 
virtual void GetSupportedRenderDataCategories (xiiHybridArray< xiiRenderData::Category, 8 > &ref_categories) const override
 
virtual void RenderBatch (const xiiRenderViewContext &renderContext, xiiSharedPtr< xiiGALCommandList > pCommandList, const xiiRenderPipelinePass *pPass, const xiiRenderDataBatch &batch) const override
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_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

xiiShaderResourceHandle m_hShader
 
xiiSharedPtr< xiiGALBufferm_pVertexBuffer
 
xiiInputLayoutInfo m_InputLayoutInfo
 
xiiDynamicArray< GridVertex, xiiAlignedAllocatorWrapperm_Vertices
 

Static Protected Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Member Function Documentation

◆ GetSupportedRenderDataCategories()

void xiiGridRenderer::GetSupportedRenderDataCategories ( xiiHybridArray< xiiRenderData::Category, 8 > & ref_categories) const
overridevirtual

Implements xiiRenderer.

◆ GetSupportedRenderDataTypes()

void xiiGridRenderer::GetSupportedRenderDataTypes ( xiiHybridArray< const xiiRTTI *, 8 > & ref_types) const
overridevirtual

Implements xiiRenderer.

◆ RenderBatch()

void xiiGridRenderer::RenderBatch ( const xiiRenderViewContext & renderContext,
xiiSharedPtr< xiiGALCommandList > pCommandList,
const xiiRenderPipelinePass * pPass,
const xiiRenderDataBatch & batch ) const
overridevirtual

Implements xiiRenderer.


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