Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
RenderCost Class Reference

#include <DrawModule.h>

Public Member Functions

 RenderCost (void)
 
 ~RenderCost (void)
 
void clear (void)
 
void addDrawCalls (int count)
 
void addSortedMeshes (int count)
 
void addSkinMeshes (int count)
 
void addBones (int count)
 
void addShadowDrawCalls (int count)
 
int getDrawCallCount (void)
 
int getSortedMeshCount (void)
 
int getSkinMeshCount (void)
 
int getBoneCount (void)
 
int getShadowDrawCount (void)
 

Protected Attributes

int m_drawCallCount
 
int m_sortedMeshCount
 
int m_skinMeshCount
 
int m_boneCount
 
int m_shadowDrawCount
 

Detailed Description

Definition at line 232 of file DrawModule.h.

Constructor & Destructor Documentation

◆ RenderCost()

RenderCost::RenderCost ( void )
inline

Definition at line 235 of file DrawModule.h.

◆ ~RenderCost()

RenderCost::~RenderCost ( void )
inline

Definition at line 236 of file DrawModule.h.

Member Function Documentation

◆ addBones()

void RenderCost::addBones ( int count)
inline

Definition at line 242 of file DrawModule.h.

◆ addDrawCalls()

void RenderCost::addDrawCalls ( int count)
inline

Definition at line 239 of file DrawModule.h.

◆ addShadowDrawCalls()

void RenderCost::addShadowDrawCalls ( int count)
inline

Definition at line 243 of file DrawModule.h.

◆ addSkinMeshes()

void RenderCost::addSkinMeshes ( int count)
inline

Definition at line 241 of file DrawModule.h.

◆ addSortedMeshes()

void RenderCost::addSortedMeshes ( int count)
inline

Definition at line 240 of file DrawModule.h.

◆ clear()

void RenderCost::clear ( void )
inline

Definition at line 238 of file DrawModule.h.

◆ getBoneCount()

int RenderCost::getBoneCount ( void )
inline

Definition at line 248 of file DrawModule.h.

◆ getDrawCallCount()

int RenderCost::getDrawCallCount ( void )
inline

Definition at line 245 of file DrawModule.h.

◆ getShadowDrawCount()

int RenderCost::getShadowDrawCount ( void )
inline

Definition at line 249 of file DrawModule.h.

◆ getSkinMeshCount()

int RenderCost::getSkinMeshCount ( void )
inline

Definition at line 247 of file DrawModule.h.

◆ getSortedMeshCount()

int RenderCost::getSortedMeshCount ( void )
inline

Definition at line 246 of file DrawModule.h.

Member Data Documentation

◆ m_boneCount

int RenderCost::m_boneCount
protected

Definition at line 256 of file DrawModule.h.

◆ m_drawCallCount

int RenderCost::m_drawCallCount
protected

Definition at line 253 of file DrawModule.h.

◆ m_shadowDrawCount

int RenderCost::m_shadowDrawCount
protected

Definition at line 257 of file DrawModule.h.

◆ m_skinMeshCount

int RenderCost::m_skinMeshCount
protected

Definition at line 255 of file DrawModule.h.

◆ m_sortedMeshCount

int RenderCost::m_sortedMeshCount
protected

Definition at line 254 of file DrawModule.h.


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