Udostępnij za pośrednictwem


HolographicFramePresentWaitBehavior Enum

Definition

Specifies whether a Present call should wait for the frame to finish or returns control to the thread immediately.

public enum class HolographicFramePresentWaitBehavior
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class HolographicFramePresentWaitBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum HolographicFramePresentWaitBehavior
var value = Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior.waitForFrameToFinish
Public Enum HolographicFramePresentWaitBehavior
Inheritance
HolographicFramePresentWaitBehavior
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

WaitForFrameToFinish 0

Wait for the time to start head pose dependent rendering for the next frame. This method must only be called after PresentUsingCurrentPrediction has already been called on this frame.

DoNotWaitForFrameToFinish 1

Return control to the thread immediately.

Applies to