protected override void OnDraw(IRenderArgs args) { if (!_skyBox.Loaded) { _skyBox.Load(Alex.GuiRenderer); } _skyBox.Draw(args); base.OnDraw(args); }
protected override void OnDraw(IRenderArgs args) { if (!_backgroundSkyBox.Loaded) { _backgroundSkyBox.Load(Alex.GuiRenderer); } _backgroundSkyBox.Draw(args); base.OnDraw(args); FpsMonitor.Update(); }
protected override void OnDraw(IRenderArgs args) { if (_skyBox != null) { if (!_skyBox.Loaded) { _skyBox.Load(Alex.GuiRenderer); } _skyBox.Draw(args); } if (Alex.InGame) { ParentState.Draw(args); } base.OnDraw(args); }
protected override void OnDraw(IRenderArgs args) { base.OnDraw(args); _backgroundSkyBox.Draw(args); }
protected override void OnDraw(IRenderArgs args) { base.OnDraw(args); _skyBox.Draw(args); }