DenOfIzGraphics 0.1.28-alpha

This is a prerelease version of DenOfIzGraphics.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package DenOfIzGraphics --version 0.1.28-alpha
                    
NuGet\Install-Package DenOfIzGraphics -Version 0.1.28-alpha
                    
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="DenOfIzGraphics" Version="0.1.28-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DenOfIzGraphics" Version="0.1.28-alpha" />
                    
Directory.Packages.props
<PackageReference Include="DenOfIzGraphics" />
                    
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 DenOfIzGraphics --version 0.1.28-alpha
                    
#r "nuget: DenOfIzGraphics, 0.1.28-alpha"
                    
#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.
#addin nuget:?package=DenOfIzGraphics&version=0.1.28-alpha&prerelease
                    
Install DenOfIzGraphics as a Cake Addin
#tool nuget:?package=DenOfIzGraphics&version=0.1.28-alpha&prerelease
                    
Install DenOfIzGraphics as a Cake Tool

DenOfIz Graphics Library for .NET

⚠️ ALPHA SOFTWARE: DenOfIz is currently in alpha stage. The API is subject to change, and the library may contain bugs or missing features. Use in production environments is not recommended at this time.

DenOfIz is a modern, cross-platform graphics library that provides a unified interface over multiple graphics APIs including DirectX12, Vulkan, and Metal. It offers a high-level abstraction layer that makes it easier to develop graphics applications across different platforms while leveraging the performance benefits of modern low-level APIs.

Features

  • Cross-Platform Support: Works on Windows, macOS, and Linux
  • Multiple Graphics API Support:
    • DirectX12 (Windows)
    • Vulkan (Windows, Linux)
    • Metal (macOS)
  • Modern Rendering Features:
    • Write HLSL shaders once, run on all backends (DirectX12, Vulkan, Metal)
    • Ray tracing support
    • Mesh shaders
    • Resource binding model
  • Asset Management:
    • Model loading (via Assimp)
    • Texture loading
    • Shader reflection and compilation
  • Font Rendering:
    • Multi-channel signed distance field (MSDF) support
    • Text layout and rendering
  • Animation and Input:
    • OzzAnimation integration and wrapper
    • SDL2 window and input system wrapper

Getting Started

To get started with DenOfIz in your .NET project:

  1. Install the NuGet package:

    dotnet add package DenOfIzGraphics
    
  2. Make sure to initialize the library at the start of your application:

    // Very important to ensure necessary libraries are loaded (especially dxil and dxcompiler for Windows)
    DenOfIzGraphics.Initialize(new EngineDesc());
    
  3. Create a window and set up the graphics API:

    // Create window
    var windowProps = new WindowProperties();
    windowProps.Title = new InteropString("DenOfIz Example");
    windowProps.Width = 1920;
    windowProps.Height = 1080;
    windowProps.Flags.Shown = true;
    windowProps.Flags.Resizable = true;
    windowProps.Position = WindowPosition.Centered;
    
    var window = new Window(windowProps);
    var windowHandle = window.GetGraphicsWindowHandle();
    
    // Initialize graphics API
    var apiPreference = new APIPreference();
    apiPreference.Windows = APIPreferenceWindows.DirectX12;
    apiPreference.Linux = APIPreferenceLinux.Vulkan;
    apiPreference.OSX = APIPreferenceOSX.Metal;
    
    var graphicsApi = new GraphicsApi(apiPreference);
    var device = graphicsApi.CreateAndLoadOptimalLogicalDevice();
    
  4. Check the included Example.cs file for a complete triangle rendering example that demonstrates the fundamentals of the API.

Platform Support

  • Windows: x64 architecture with DirectX12 or Vulkan
  • macOS: arm64 architecture with Metal
  • Linux: x64 architecture with Vulkan

Dependencies

This library includes all necessary native dependencies in the NuGet package. The native libraries are automatically loaded when you initialize the library.

API Overview

  • GraphicsApi: The main entry point to the library
  • ILogicalDevice: Represents a logical device for rendering
  • ICommandQueue: Handles command submission to the GPU
  • ISwapChain: Manages presentation of rendered frames
  • IPipeline: Represents a graphics or compute pipeline
  • FrameSync: Synchronizes rendering across multiple frames

Additional Resources

For more detailed information and advanced usage, refer to the official GitHub repository: https://github.com/DenOfIz/DenOfIz

License

DenOfIz is licensed under the GNU General Public License v3.0.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.38-alpha 130 5/20/2025
0.1.37-alpha 109 5/20/2025
0.1.28-alpha 195 5/15/2025
0.1.20-alpha 199 5/14/2025
0.1.19-alpha 199 5/14/2025
0.1.18-alpha 193 5/14/2025
0.1.17-alpha 193 5/13/2025
0.1.16-alpha 195 5/13/2025
0.1.15-alpha 233 5/13/2025