Ejemplo n.º 1
0
        internal void Render(Graphics Device)
        {
            Executor_.SetDevice(Device);
            WinConvert.SetDevice(Device);

            LGui.Begin();

            if (DemoIndex_ != -1)
            {
                DemoList_[DemoIndex_].Render();
            }
            else
            {
                Device.FillRectangle(BrushCache.GetOrCreate(LGuiColor.Red), 0, 0, WinSize.X, WinSize.Y);
            }

            LGui.End();

            Device.DrawString($"DrawCall : {LGui.GetDrawCall()}", TextFont_, Brushes.White, 800, 520);
        }