idTech4.Renderer.idRenderSystem.IssueRenderCommands C# (CSharp) Method

IssueRenderCommands() private method

private IssueRenderCommands ( ) : void
return void
		private void IssueRenderCommands()
		{
			if((_frameData.Commands.Peek().CommandID == RenderCommandType.Nop) && (_frameData.Commands.Count == 1))
			{
				// nothing to issue
				return;
			}

			// r_skipBackEnd allows the entire time of the back end
			// to be removed from performance measurements, although
			// nothing will be drawn to the screen.  If the prints
			// are going to a file, or r_skipBackEnd is later disabled,
			// usefull data can be received.

			// r_skipRender is usually more usefull, because it will still
			// draw 2D graphics
			if(idE.CvarSystem.GetBool("r_skipBackEnd") == false)
			{
				_backendRenderer.Execute(_frameData.Commands);
			}

			ClearCommandChain();
		}