Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData Class Reference

Holds information about a single quad rendering batch. More...

Inheritance diagram for anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData:
Collaboration diagram for anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData:

Public Member Functions

 QuadBatchData ()
 
- Public Member Functions inherited from CRenderData
 CRenderData ()
 
virtual ~CRenderData ()
 

Public Attributes

std::vector< SOverlayQuad * > m_Quads
 Holds the quad overlay structures requested to be rendered in this batch. More...
 
size_t m_IndicesBase
 Start index of this batch into the dedicated quad indices VertexArray (see OverlayInternals). More...
 
size_t m_NumRenderQuads
 Amount of quads to actually render in this batch. More...
 
- Public Attributes inherited from CRenderData
int m_UpdateFlags
 

Detailed Description

Holds information about a single quad rendering batch.

Constructor & Destructor Documentation

◆ QuadBatchData()

anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData::QuadBatchData ( )
inline

Member Data Documentation

◆ m_IndicesBase

size_t anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData::m_IndicesBase

Start index of this batch into the dedicated quad indices VertexArray (see OverlayInternals).

◆ m_NumRenderQuads

size_t anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData::m_NumRenderQuads

Amount of quads to actually render in this batch.

Potentially (although unlikely to be) different from m_Quads.size() due to restrictions on the total amount of quads that can be rendered. Must be reset after each frame.

◆ m_Quads

std::vector<SOverlayQuad*> anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData::m_Quads

Holds the quad overlay structures requested to be rendered in this batch.

Must be cleared after each frame.


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