private void ApplyPreFrame(double deltaTime) { lock (lockObj) { if (nextViewTarget != null) { ViewTarget = nextViewTarget; nextViewTarget = null; } ClearRenderPassses(); ApplyRenderProxyStagingArea(); } UpdateRenderProxies(deltaTime); }