Skip to main content
Any Framework

Aardvark is an open-source platform for visual computing, real-time graphics and visualization.

Published
Jan 21, 2026
9mo ago
Total Downloads
7.3K
7,299

Install

dotnet add package Aardvark.Rendering.ImGui --version 5.6.2

No framework information available.

README

Wrapper and Aardvark backend for Dear ImGui. Allows users to quickly build GUIs for their applications without having to worry about state synchronization between the application and the user interface.

Integration

  1. Reference Aardvark.Rendering.ImGui in your project.
  2. Initialize ImGui for your window:
    use gui = window.InitializeImGui()
    
    The window must be created with a GLFW application (Aardvark.Application.Slim or Aardvark.Applcation.Utilities). If you use the window builder, call window.Control.InitializeImGui() instead.
  3. Define your GUI by setting the render function of ImGui:
    gui.Render <- fun () ->
        ImGui.ShowDemoWindow()
    
    This function is called every frame to render the GUI. The methods from the ImGui class contain all the relevant widgets and controls. For convenience, Aardvark.Rendering.ImGui provides variants for cval and other Aardvark-specific types. As a reference, take a look at the demo window and its source code.
  4. Add the GUI to your scene graph:
    let cmd = RenderCommand.Ordered [scene; gui]
    window.Scene <- Sg.execute cmd
    
    Note that Aardvark.Rendering.ImGui.Instance implements ISg and can be added to the scene graph directly. Make sure that the GUI is rendered after the rest of the scene graph by using render commands.

Changes from Previous Version

No structural changes between v5.6.1 and v5.6.2.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.