ZeroGraphics.DirectX
1.7.0
dotnet add package ZeroGraphics.DirectX --version 1.7.0
NuGet\Install-Package ZeroGraphics.DirectX -Version 1.7.0
<PackageReference Include="ZeroGraphics.DirectX" Version="1.7.0" />
<PackageVersion Include="ZeroGraphics.DirectX" Version="1.7.0" />
<PackageReference Include="ZeroGraphics.DirectX" />
paket add ZeroGraphics.DirectX --version 1.7.0
#r "nuget: ZeroGraphics.DirectX, 1.7.0"
#:package ZeroGraphics.DirectX@1.7.0
#addin nuget:?package=ZeroGraphics.DirectX&version=1.7.0
#tool nuget:?package=ZeroGraphics.DirectX&version=1.7.0
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), populatingZeroGpuCapabilitieswith 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 trappingWM_ERASEBKGNDand 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 | Versions 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. |
-
.NETFramework 4.6.2
- ZeroGraphics.Core (>= 1.7.0)
- ZeroGraphics.Rhi (>= 1.7.0)
-
net8.0-windows7.0
- ZeroGraphics.Core (>= 1.7.0)
- ZeroGraphics.Rhi (>= 1.7.0)
-
net9.0-windows7.0
- ZeroGraphics.Core (>= 1.7.0)
- ZeroGraphics.Rhi (>= 1.7.0)
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.