Present Enumeration

Language:

Defines flags that allow the application to request that the SwapChain.Present return immediately when the driver reports that it cannot schedule a presentation.

Definition

Visual Basic Public Enum Present
C# public enum Present
C++ public enum class Present
JScript public enum Present

Members

Member Value Description
LinearContent 2 Performs gamma correction from linear space to sRGB for windowed swap chains. This flag takes effect only when the driver exposes SupportsLinearToSrgbPresentation.
DoNotWait 1 Performs the presentation operation without waiting. If the hardware is busy processing or waiting for a vertical sync interval, the method throws WasStillDrawingException.
BackBuffersMax 3 Returns the maximum number of back buffers supported.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center