StateBag::GetStatesAddRef

StateBag::GetStatesAddRef
virtual void GetStatesAddRef(State** pstateList, const State::StateType * pstates, unsigned count) const;
Description

GetStatesAddRef fills in a set of states with one call. Initial array pstateList must contain null pointers.

Parameters
Parameters 
Description 
State** pstateList 
A pointer to an array of state pointers that will be initialized with states located based on state types in pstates array. Each entry must be initialized to null before the call. 
const State::StateType * pstates 
A set of state types being requested, one for each entry in pstateList. 
unsigned count 
The number of entries in pstateList and pstates arrays.