Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:
CRenderData

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.

Definition at line 63 of file OverlayRenderer.cpp.

Constructor & Destructor Documentation

QuadBatchData::QuadBatchData ( )
inline

Definition at line 66 of file OverlayRenderer.cpp.

Member Data Documentation

size_t QuadBatchData::m_IndicesBase

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

Definition at line 73 of file OverlayRenderer.cpp.

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.

Definition at line 77 of file OverlayRenderer.cpp.

std::vector<SOverlayQuad*> QuadBatchData::m_Quads

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

Must be cleared after each frame.

Definition at line 70 of file OverlayRenderer.cpp.


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