PresentInterval Enumeration (Microsoft.DirectX.Direct3D)

Defines flags that describe the relationship between the adapter refresh rate and the rate at which Device.Present operations are completed.

Definition

Visual Basic Public Enum PresentInterval
C# public enum PresentInterval
C++ public enum class PresentInterval
JScript public enum PresentInterval

Members

Member Value Description
Immediate -2147483648 The runtime updates the window client area immediately, and might do so more than once during the adapter refresh period. Device.Present operations might be affected immediately. This option is always available for both windowed and full-screen swap chains.
Four 8 The driver waits for the vertical retrace period. Device.Present operations are not affected more frequently than every fourth screen refresh. Check the Caps.PresentationIntervals property to determine whether the driver supports this option.
Three 4 The driver waits for the vertical retrace period. Device.Present operations are not affected more frequently than every third screen refresh. Check the Caps.PresentationIntervals property to determine whether the driver supports this option.
Two 2 The driver waits for the vertical retrace period. Device.Present operations are not affected more frequently than every second screen refresh. Check the Caps.PresentationIntervals property to determine whether the driver supports this option.
One 1 The driver waits for the vertical retrace period (the runtime will beam trace to prevent tearing). Device.Present operations are not affected more frequently than the screen refresh rate; the runtime completes one Device.Present operation per adapter refresh period, at most. This option is always available for both windowed and full-screen swap chains.
Default 0 Equivalent to setting One.

Remarks

This enumeration is used by the Caps.PresentationIntervals and PresentParameters.PresentationInterval properties.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492