UPInt GetSize() const;
GetSize obtains the number of render states stored in the state bag/ or in the tree node.
The number of render states.