D2D1_PRESENT_OPTIONS Enumeration

Describes how a render target behaves when it presents its content. This enumeration allows a bitwise combination of its member values.

Syntax

typedef enum D2D1_PRESENT_OPTIONS {
  D2D1_PRESENT_OPTIONS_NONE             ,
  D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS  ,
  D2D1_PRESENT_OPTIONS_IMMEDIATELY      ,
  D2D1_PRESENT_OPTIONS_FORCE_DWORD
} ;

Constants

D2D1_PRESENT_OPTIONS_NONE The render target waits until the display refreshes to present and discards the frame upon presenting.
D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS The render target does not discard the frame upon presenting.
D2D1_PRESENT_OPTIONS_IMMEDIATELY The render target does not wait until the display refreshes to present.
D2D1_PRESENT_OPTIONS_FORCE_DWORD

Requirements

   
Windows version Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h