Axiom.Core.Root.UpdateAllRenderTargets C# (CSharp) Method

UpdateAllRenderTargets() public method

Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which are set to auto-update.
You don't need to use this method if you're using Axiom's own internal rendering loop (Root.StartRendering). If you're running your own loop you may wish to call it to update all the render targets which are set to auto update (RenderTarget.IsAutoUpdated). You can also update individual RenderTarget instances using their own Update() method.
public UpdateAllRenderTargets ( ) : bool
return bool
		public bool UpdateAllRenderTargets()
		{
			// update all targets but don't swap buffers
			this.activeRenderSystem.UpdateAllRenderTargets( false );
			// give client app opportunity to use queued GPU time
			bool ret = OnFrameRenderingQueued();
			// block for final swap
			this.activeRenderSystem.SwapAllRenderTargetBuffers( this.activeRenderSystem.WaitForVerticalBlank );

			return ret;
		}