Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.38 KB

holographicframe_presentusingcurrentprediction_1384220218.md

File metadata and controls

27 lines (19 loc) · 1.38 KB
-api-id -api-type -api-device-family-note
M:Windows.Graphics.Holographic.HolographicFrame.PresentUsingCurrentPrediction
winrt method
xbox

Windows.Graphics.Holographic.HolographicFrame.PresentUsingCurrentPrediction

-description

Present the current frame for all cameras and then wait until the next frame.

-returns

The result of the Present call.

-remarks

Except for very simple apps, you should generally call the two-parameter overload and pass in a waitBehavior of DoNotWaitForFrameToFinish. You can then call HolographicSpace.WaitForNextFrameReady or HolographicSpace.WaitForNextFrameReadyWithHeadStart manually, which allows your app's CPU and GPU work to overlap across consecutive frames.

This method will make use of the Direct3D device you provided to the HolographicSpace. If you've specified the D3D11_CREATE_DEVICE_SINGLETHREADED flag on your device, be sure to call this method from your single Direct3D thread to avoid undefined behavior.

-examples

-see-also

PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior)