HolographicFrame.WaitForFrameToFinish Method


Blocks the current thread until this frame has finished and is showing on the displays.

 virtual void WaitForFrameToFinish() = WaitForFrameToFinish;
void WaitForFrameToFinish();
public void WaitForFrameToFinish();
function waitForFrameToFinish()
Public Sub WaitForFrameToFinish ()


Note that the default wait behavior of PresentUsingCurrentPrediction already waits for the frame to finish.

Except for very simple apps, you should generally use HolographicSpace.WaitForNextFrameReady or HolographicSpace.WaitForNextFrameReadyWithHeadStart instead, which allows your app's CPU and GPU work to overlap across consecutive frames.

Applies to