Share via


PresentParameters.PresentationInterval Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the maximum rate at which the swap chain's back buffers can be presented.

Definition

Visual Basic Public Property PresentationInterval As PresentInterval
C# public PresentInterval PresentationInterval { get; set; }
C++ public:
property PresentInterval PresentationInterval {
        PresentInterval get();
        void set(PresentInterval value);
}
JScript public function get PresentationInterval() : PresentInterval
public function set PresentationInterval(PresentInterval);

Property Value

Microsoft.DirectX.Direct3D.PresentInterval
Maximum rate at which the swap chain's back buffers can be presented.

This property is read/write. 

Remarks

For a windowed swap chain, this value must be PresentInterval.Default (0). For a full-screen swap chain, it can be PresentInterval.Default or the value that corresponds exactly to one of the flags enumerated in Present.