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.
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] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012