/// <summary> /// /// </summary> /// <param name="glAction"></param> /// <param name="glNode"></param> public override void BeforeChildren(GLAction glAction, GLNode glNode) { var action = glAction as RenderAction; var node = glNode as GLStateNode; Debug.Assert(action != null); Debug.Assert(node != null); GLState state = node.GetState(); action.Context.glStateList.Add(state); }
/// <summary> /// /// </summary> /// <param name="glState"></param> public GLStateNode(GLState glState) { this.glState = glState; }