Frame. Wait For Frame ToFinish Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Blocks the current thread until this frame has finished and is showing on the displays.
public: virtual void WaitForFrameToFinish() = WaitForFrameToFinish;
public void 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.
Submit and view feedback for