ZeroGraphics.DirectX 1.7.0

dotnet add package ZeroGraphics.DirectX --version 1.7.0
                    
NuGet\Install-Package ZeroGraphics.DirectX -Version 1.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZeroGraphics.DirectX" Version="1.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeroGraphics.DirectX" Version="1.7.0" />
                    
Directory.Packages.props
<PackageReference Include="ZeroGraphics.DirectX" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZeroGraphics.DirectX --version 1.7.0
                    
#r "nuget: ZeroGraphics.DirectX, 1.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZeroGraphics.DirectX@1.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZeroGraphics.DirectX&version=1.7.0
                    
Install as a Cake Addin
#tool nuget:?package=ZeroGraphics.DirectX&version=1.7.0
                    
Install as a Cake Tool

ZeroGraphics.DirectX ⚡

High-performance, zero-allocation Direct3D 11 & DXGI rendering pipeline with hardware-accelerated HLSL Signed Distance Field (SDF) effects for Windows Forms (net462, net8.0-windows).


🌟 Key Features

  • Direct3D 11 & DXGI SwapChain Pipeline (HwndSwapChain): Direct hardware acceleration bound directly to native WinForms HWNDs without DWM composition overhead.
  • Pure COM VTable Dispatch (ComVTableHelper): Zero external dependencies (no SharpDX or Vortice.Windows required). Featherweight footprint (< 150 KB) with 100% compatibility across .NET Framework 4.6.2 and .NET 8.0+.
  • Real-time Hardware GPU Telemetry (D3D11DeviceManager): Direct DXGI 1.1 hardware adapter enumeration via COM VTable (Tier0_Software, Tier1_Integrated, Tier2_Discrete), populating ZeroGpuCapabilities with live VRAM and GPU specs.
  • Analytical Signed Distance Field (SDF) Shaders (SdfCardPipeline): Embedded precompiled Shader Model 4.0 bytecode executing anti-aliased corner rounding, smooth borders, soft drop shadows, and neon bloom glows in a single GPU pass ($O(1)$) at >1,000 FPS.
  • Zero-Flicker On-Demand Canvas (ZeroDirectXCanvas): Event-driven rendering engine trapping WM_ERASEBKGND and painting only when invalidated or driven by animation clock (0% CPU/GPU when idle).

🚀 Quick Example

using System.Drawing;
using System.Windows.Forms;
using ZeroGraphics.DirectX.Controls;

public class MainForm : Form
{
    public MainForm()
    {
        var canvas = new ZeroDirectXCanvas
        {
            Dock = DockStyle.Fill,
            CornerRadius = 12f,
            Elevation = 10f,
            BlurRadius = 20f,
            CardColor = Color.FromArgb(22, 27, 38),
            CardBorderColor = Color.FromArgb(42, 51, 71),
            GlowColor = Color.FromArgb(0, 229, 255),
            GlowIntensity = 0.8f // Neon glow
        };

        Controls.Add(canvas);
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on ZeroGraphics.DirectX:

Package Downloads
ZeroGraphics.Direct2D

High-performance Direct2D and DirectWrite typography and 2D vector rendering engine for Windows Forms (.NET Framework 4.6.2 and .NET 8.0).

ZeroGraphics.Waveform

High-frequency real-time waveform, oscilloscope, and industrial telemetry chart canvas powered by Direct3D 11 hardware-accelerated LineStrip rendering (.NET Framework 4.6.2 and .NET 8.0).

ZeroGraphics.Imaging

High-performance image processing, computer vision primitives, Otsu binarization, adaptive integral thresholding, separable Gaussian blur, Sobel edge detection, and morphology for .NET.

ZeroUI.WinForms.Common

ZeroUI WinForms Common - Shell, Base, Theming, Primitives, Buttons, Panels, Layout, and Overlays.

ZeroUI.Wpf.Common

ZeroUI WPF Common - Shell, Base, Theming, Primitives, Buttons, Panels, Layout, and Overlays.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.7.0 292 9/30/2026
1.6.0 130 9/28/2026
1.5.0 810 9/21/2026
1.3.0 114 9/21/2026
1.2.0 123 9/16/2026
1.0.1 238 9/9/2026
1.0.0 129 9/8/2026