HexaEngine / Hexa.NET.ImGui

A .NET wrapper for the Dear ImGui.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexa.NET.ImGui

Hexa.NET.ImGui is a .NET wrapper for the Dear ImGui (1.90.9) library, including support for internal components and popular addons like ImGuizmo, ImNodes, and ImPlot. This wrapper allows developers to leverage the powerful and flexible Dear ImGui library within the .NET ecosystem.

Features

  • Comprehensive Wrapper: Integrates the core Dear ImGui library along with essential addons such as ImGuizmo, ImNodes, and ImPlot.
  • Multi Viewport Support: Enables seamless multi-viewport rendering for advanced UI scenarios.
  • Active Development: Regular updates and improvements to ensure compatibility with the latest Dear ImGui features and .NET advancements.
  • Trustworthy Builds: Native libraries are built using GitHub Actions for added trustworthiness and can be found here.
  • Open Source: The source code for the native libraries is public and can be reviewed by anyone.
  • Access to Internals: Allows users to access Dear ImGui internals for advanced customization and functionality.

Packages

Hexa.NET.ImGui is divided into four different packages to provide modularity and flexibility. You can choose to install only the packages you need:

Getting Started

To get started with Hexa.NET.ImGui, follow these steps:

  1. Install the NuGet packages:

    For the core library:

    dotnet add package Hexa.NET.ImGui

    For ImGuizmo addon:

    dotnet add package Hexa.NET.ImGuizmo

    For ImNodes addon:

    dotnet add package Hexa.NET.ImNodes

    For ImPlot addon:

    dotnet add package Hexa.NET.ImPlot
  2. Initialize the library in your project:

    using Hexa.NET.ImGui;
    // Your initialization code here
  3. Explore the demos to see the library in action.

Usage Example

For a comprehensive example of how to use the library, refer to the ExampleD3D11 project.

Setup Guide

For details on how to set up the library, check the ImGuiManager.cs file in the ExampleD3D11 project.

Projects Using Hexa.NET.ImGui

HexaEngine

HexaEngine Editor

TODO

  • Refactor the generator: Improve the code generation process for better performance and maintainability.
  • More demos: Add additional demo applications to showcase various features and use cases.

Screenshots

Main Interface

Screenshot 2023-05-23 163105

Multi Viewport Support

Screenshot 2023-07-07 153108

Contributing

Contributions are welcome! If you have ideas for improvements or new features, feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

A .NET wrapper for the Dear ImGui.

License:MIT License


Languages

Language:C# 96.5%Language:C 3.5%