Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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_NONE             = 0x00000000,
  D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS  = 0x00000001,
  D2D1_PRESENT_OPTIONS_IMMEDIATELY      = 0x00000002
} D2D1_PRESENT_OPTIONS;

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.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

 

 

Show:
© 2017 Microsoft