Export (0) Print
Expand All

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 BasicPublic Enum PresentInterval
C#public enum PresentInterval
C++public enum class PresentInterval
JScriptpublic enum PresentInterval

Members

MemberValueDescription
Immediate-2147483648The 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.
Four8The 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.
Three4The 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.
Two2The 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.
One1The 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.
Default0Equivalent to setting One.

Remarks

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

Enumeration Information

NamespaceMicrosoft.DirectX.Direct3D
AssemblyMicrosoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong NameMicrosoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492
Show:
© 2015 Microsoft