Table of Contents

Enum DeviceContextType

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Describes whether a device context uses hardware or software rendering, or if Direct2D should select the rendering mode.
D2D1_RENDER_TARGET_TYPE

public enum DeviceContextType

Fields

Default = 0

The device context uses hardware rendering, if available; otherwise, it uses software rendering.

Software = 1

The device context uses software rendering only.

Hardware = 2

The device context uses hardware rendering only.

Remarks

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