Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Holds information about a single quad rendering batch. More...
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 |
Holds information about a single quad rendering batch.
|
inline |
size_t anonymous_namespace{OverlayRenderer.cpp}::QuadBatchData::m_IndicesBase |
Start index of this batch into the dedicated quad indices VertexArray (see OverlayInternals).
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.
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.