Overview
Direct2D (D2D) is a hardware-accelerated, immediate-mode, 2‑D graphics API that provides high performance and high quality rendering for Windows applications. This documentation contains the full reference for interfaces, structures, enumerations, functions, and constants used when developing with Direct2D.
Quick Links
ID2D1Factory
Creates Direct2D resources.
ID2D1RenderTarget
Drawing surface for rendering.
D2D1CreateFactory
Creates a Direct2D factory object.
D2D1_ALPHA_MODE
Alpha mode options for render targets.
D2D1_SIZE_U
Unsigned size definition.
Sample Code
Practical examples using Direct2D.