PresentInterval Enumeration
Defines flags that describe the relationship between the adapter refresh rate and the rate at which the Present operations are completed for a Device.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Enumeration PresentInterval
'Usage
Dim instance As PresentInterval
public enum PresentInterval
public enum class PresentInterval
public enum PresentInterval
public enum PresentInterval
Members
Member name | Description | |
---|---|---|
Default | Equivalent to setting One. | |
Four | The driver waits for the vertical retrace period. 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. | |
Immediate | The runtime updates the window client area immediately, and might do so more than once during the adapter refresh period. Present operations might be affected immediately. This option is always available for both windowed and full-screen swap chains. | |
One | The driver waits for the vertical retrace period (the runtime will beam trace to prevent tearing). Present operations are not affected more frequently than the screen refresh rate; the runtime completes one Present operation per adapter refresh period, at most. This option is always available for both windowed and full-screen swap chains. | |
Three | The driver waits for the vertical retrace period. Present operations are not affected more frequently than every third screen refresh. Check the PresentationIntervals property to determine whether the driver supports this option. | |
Two | The driver waits for the vertical retrace period. Present operations are not affected more frequently than every second screen refresh. Check the PresentationIntervals property to determine whether the driver supports this option. |
Remarks
This PresentationIntervals property of a Caps uses this enumeration.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Microsoft.WindowsMobile.DirectX.Direct3D Namespace