共用方式為


PresentInterval Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
type PresentInterval

Members

Member name Description
Supported by the .NET Compact Framework Default Equivalent to setting One.
Supported by the .NET Compact Framework 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.
Supported by the .NET Compact Framework 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.
Supported by the .NET Compact Framework 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.
Supported by the .NET Compact Framework 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.
Supported by the .NET Compact Framework 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.

Remarks

This PresentationIntervals property of a Caps uses this enumeration.

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework