StatBag::Add

StatBag::Add
bool Add(unsigned statId, Stat* pstat);
void Add(const StatBag& other);
Description

Adds statistical value of a certain id. Ids are used as group identifiers for different subsystems in GFx such as renderer, movie definition, etc. Group identifiers usually start with prefix such as StatGroup_ (for group ids), StatHeap_, StatRenderer_, StatMV_, etc.

Parameters
Parameters 
Description 
unsigned statId 
Identifier of the statistic value. 
Stat* pstat 
Pointer to Stat object holding the statistic value. 
const StatBag& other 
Different stat bag which is added to the current stat bag.