StateBag::SetState

StateBag::SetState
void SetState(Interface* i, RefCountImpl* data);
void SetState(const State& s);
Description

SetState sets the render state of the tree node.

Parameters
Parameters 
Description 
Interface* i 
Pointer to the interface implementing a render state. 
RefCountImpl* data 
Pointer to the ref-counted render state data item associated with the interface. 
const State& s 
The render State that is set on the tree node.