public void Draw(double tween) { GL.ClearColor(ScreenLayerManager.BackgroundColor); GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); ScreenLayerManager.Draw(drawContext, tween); overlay.Draw(drawContext); DrawState.CompleteFrame(); }
public override void Draw(DrawContext drawContext, double tween) { base.Draw(drawContext, tween); widgetManager.Draw(drawContext); }