Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DPRESENT_INTERVAL_FLAGS

Maximum rate at which the swap chain's back buffers may be presented.

Enum CONST_D3DPRESENT_INTERVAL_FLAGS
    D3DPRESENT_INTERVAL_DEFAULT   =            0
    D3DPRESENT_INTERVAL_ONE       =            1
    D3DPRESENT_INTERVAL_TWO       =            2
    D3DPRESENT_INTERVAL_THREE     =            4
    D3DPRESENT_INTERVAL_FOUR      =            8
    D3DPRESENT_INTERVAL_IMMEDIATE =  -2147483648 (&H80000000)
End Enum

Constants

D3DPRESENT_INTERVAL_DEFAULT
The driver supports the default presentation interval.
D3DPRESENT_INTERVAL_ONE
The driver will wait for the vertical retrace period. Present operations will not be affected more frequently than the screen refresh.
D3DPRESENT_INTERVAL_TWO
The driver will wait for the vertical retrace period. Present operations will not be affected more frequently than every second screen refresh.
D3DPRESENT_INTERVAL_THREE
The driver will wait for the vertical retrace period. Present operations will not be affected more frequently than every third screen refresh.
D3DPRESENT_INTERVAL_FOUR
The driver will wait for the vertical retrace period. Present operations will not be affected more frequently than every fourth screen refresh.
D3DPRESENT_INTERVAL_IMMEDIATE
Present operations may be affected immediately. The driver will not wait for the vertical retrace period.

Remarks

For a windowed swap chain, this value must be D3DPRESENT_INTERVAL_DEFAULT (0). For a full-screen swap chain it may be D3DPRESENT_INTERVAL_DEFAULT or the value corresponding to exactly one of the flags enumerated in the PresentationIntervals member of D3DCAPS8.

See Also

D3DCAPS8