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

@ -85,6 +85,8 @@ public:
*/
RenderState* getTopmost(RenderState* below);
void setParent(RenderState* parent) { _parent = parent; }
enum Blend
{
BLEND_ZERO = GL_ZERO,