Exemplo n.º 1
0
        protected override void OnDraw(FrameArgs e)
        {
            base.OnDraw(e);

            using (_cam.Begin()) {
                _root.Draw();
            }
        }
Exemplo n.º 2
0
        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();
            }
        }