Share via


HolographicSpace.WaitForNextFrameReadyWithHeadStart(TimeSpan) Method

Definition

Blocks the current thread until the right time to begin rendering the next frame, with the specified head start.

public:
 virtual void WaitForNextFrameReadyWithHeadStart(TimeSpan requestedHeadStartDuration) = WaitForNextFrameReadyWithHeadStart;
void WaitForNextFrameReadyWithHeadStart(TimeSpan const& requestedHeadStartDuration);
public void WaitForNextFrameReadyWithHeadStart(System.TimeSpan requestedHeadStartDuration);
function waitForNextFrameReadyWithHeadStart(requestedHeadStartDuration)
Public Sub WaitForNextFrameReadyWithHeadStart (requestedHeadStartDuration As TimeSpan)

Parameters

requestedHeadStartDuration
TimeSpan TimeSpan

The amount of extra head start time to wake up early.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This method will return approximately the head start plus one frame duration before the next frame is expected to be received by the compositor to reproject and scan out.

Applies to