protected override void OnDraw(FrameArgs e) { base.OnDraw(e); using (_cam.Begin()) { _root.Draw(); } }
protected override void OnDraw(FrameArgs e) { base.OnDraw(e); using (_cam.Begin()) { // using the camera... // not much to do here, just draw the UI root // we could also apply transforms or draw the UI // to a frame buffer object for post effects _root.Draw(); } }