/// <summary> /// Waits for the GPU to be idle. /// </summary> /// <param name="argument">Method call argument</param> public void WaitForIdle(int argument) { _parent.PerformDeferredDraws(); _context.Renderer.Pipeline.Barrier(); _createSyncPending = true; }
/// <summary> /// Waits for the GPU to be idle. /// </summary> /// <param name="argument">Method call argument</param> public void WaitForIdle(int argument) { _parent.PerformDeferredDraws(); _context.Renderer.Pipeline.Barrier(); _context.CreateHostSyncIfNeeded(false); }