idTech4.UI.idUserInterface.Draw C# (CSharp) Method

Draw() public method

public Draw ( int time ) : void
time int
return void
		public void Draw(int time)
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			if(idE.CvarSystem.GetInteger("r_skipGuiShaders") > 5)
			{
				return;
			}
			
			if((_loading == false) && (_desktop != null))
			{
				_time = time;
				
				idE.UIManager.Context.PushClipRectangle(idE.UIManager.ScreenRectangle);
				this.Desktop.Draw(0, 0);
				idE.UIManager.Context.PopClipRectangle();
			}
		}