D2D1_PRESENT_OPTIONS enumeration

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.
0 out of 1 rated this helpful - Rate this topic

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 | Windows Store apps]

Minimum supported server

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

Header

D2d1.h

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.