Releases: AddioElectronics/GfxControls
Releases · AddioElectronics/GfxControls
GfxControls v0.1.1 (x86/x64)
GfxControls v0.1.1 (x86/x64)
GfxControls provides WPF and WinForms controls for embedding DirectX content. This release includes only DirectX 11 support, available through the D3D11Host control, and is compatible with x64 applications only.
Current Support
| Framework | DirectX | OpenGL | Vulkan |
|---|---|---|---|
| WPF | ✔ | ✖ | ✖ |
| WinForms | ✔ | ✖ | ✖ |
API Version Support
| API | Version | WPF | WinForms |
|---|---|---|---|
| DirectX | 9 | ✖ | ✖ |
| 10 | ✖ | ✖ | |
| 11 | ✔ | ✔ | |
| 12 | ✖ | ✖ | |
| OpenGL | 3.3 | ✖ | ✖ |
| 4.6 | ✖ | ✖ | |
| Vulkan | 1.0 | ✖ | ✖ |
| 1.1 | ✖ | ✖ |
Features
- DirectX 11 (D3D11Host)
WPF and WinForms controls for DirectX 11 rendering.
Getting Started
-
Add a Reference
ReferenceGfxControls.WPF.dllorGfxControls.Forms.dll. -
Add D3D11Host Control
UseD3D11Hostin your XAML or WinForms UI. -
Initialize and Access DirectX
Wait forD3D11Host.IsDXInitializedor handle theDXInitializedevent before accessing DirectX interfaces (IDXGIDevice,ID3D11Device, etc.).