setParent for RenderState

This commit is contained in:
yangxiao 2015-09-11 11:47:36 +08:00
parent d5fab0bd38
commit 6fd9784fce
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ public:
* Returns the topmost RenderState in the hierarchy below the given RenderState.
*/
RenderState* getTopmost(RenderState* below);
void setParent(RenderState* parent) { _parent = parent; }
enum Blend
{