Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
QuadBatchData Class Reference

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

Inheritance diagram for QuadBatchData:
Inheritance graph
[legend]
Collaboration diagram for QuadBatchData:
Collaboration graph
[legend]

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::QuadBatchData ( )
inline

Member Data Documentation

size_t QuadBatchData::m_IndicesBase

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

size_t 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*> 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: