D2D1_RENDER_TARGET_TYPE enumeration

Describes whether a render target uses hardware or software rendering, or if Direct2D should select the rendering mode.

Syntax


typedef enum  { 
  D2D1_RENDER_TARGET_TYPE_DEFAULT    = 0,
  D2D1_RENDER_TARGET_TYPE_SOFTWARE   = 1,
  D2D1_RENDER_TARGET_TYPE_HARDWARE   = 2
} D2D1_RENDER_TARGET_TYPE;

Constants

D2D1_RENDER_TARGET_TYPE_DEFAULT

The render target uses hardware rendering, if available; otherwise, it uses software rendering.

D2D1_RENDER_TARGET_TYPE_SOFTWARE

The render target uses software rendering only.

D2D1_RENDER_TARGET_TYPE_HARDWARE

The render target uses hardware rendering only.

Remarks

Not every render target supports hardware rendering. For more information, see the Render Targets Overview.

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]

Minimum supported phone

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

Header

D2d1.h

See also

D2D1_RENDER_TARGET_PROPERTIES
Render Targets Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft