HolographicFrame.WaitForFrameToFinish Method
Definition
Important
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;
void WaitForFrameToFinish();
public void WaitForFrameToFinish();
function waitForFrameToFinish()
Public Sub WaitForFrameToFinish ()
Remarks
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.