StateBag::RemoveState

StateBag::RemoveState
bool RemoveState(StateType type);
Description

RemoveState removes the render state attached on a tree node.

Parameters
Parameters 
Description 
StateType type 
The type of the state, See StateType
Return Value

A Boolean value of true if the render state is removed and false if the state is not removed.