Skip to content

Releases: MochiLibraries/Mochi.DearImGui

v0.0.3-alpha0

22 Nov 07:04
6bf59cb
Compare
Choose a tag to compare
v0.0.3-alpha0 Pre-release
Pre-release

Mochi.DearImGui v0.0.3-alpha0 Sponsor

This release wraps Dear ImGui v1.89+docking (ocornut/imgui@9964740), see the Dear ImGui release notes for details.

This release is expected to work fine, but I'm labeling it as alpha since I normally test things more thoroughly before making a release.

v0.0.2

23 Jun 14:27
a322e82
Compare
Choose a tag to compare

v0.0.1

14 Apr 02:40
071613c
Compare
Choose a tag to compare

Mochi.DearImGui v0.0.1 Sponsor

This release wraps Dear ImGui v1.87+docking (ocornut/imgui@1ee2527). (Same as v0.0.0)

This release primarily changes how C++ references are emitted in C#. They are now ref or in as appropriate instead of raw pointers. This is a breaking change, but makes calling Dear ImGui functions much more natural and more like C++.

For example, this is how you would do the equivalent of ImGui::Button("Hello", ImVec2(100.f, 20.f) from C++:

// Old v0.0.0 equivalent:
Vector2 buttonSize = new(100f, 20f); // Need temporary local to reference
ImGui.Button("Hello", &buttonSize);

// New v0.0.1 equivalent:
ImGui.Button("Hello", new(100f, 20f));

This seemingly minor change makes a lot of Dear ImGui's surface area more natural to interact with.

Special thanks to my sponsors NeuroGEARS and AnderT. The Mochi Library ecosystem wouldn't have ever gotten this far without your support!

v0.0.0

10 Feb 22:29
5aba327
Compare
Choose a tag to compare

Mochi.DearImGui v0.0.0 Sponsor

This release wraps Dear ImGui v1.87+docking (ocornut/imgui@1ee2527).

I've dropped the -alpha suffix for this release to clarify that things are relatively stable at this point. There's still some quirks with the API that I intend to improve (particularly around the passing of Vector) and a lack of helpers for some advanced scenarios, but at this point the API is very usable and Dear ImGui its self is rock solid.

Other changes in this release:

  • Fixed issues with passing empty strings to Dear ImGui functions. #1
  • Updated Mochi.DearImGui.OpenTK to use Dear ImGui's new event-based IO API. (Among other things, this fixes issues with inputs being dropped when the frame rate is low.)
  • Updated to the latest version of Biohazrd. (A few places now use nuint instead of ulong where it is more appropriate)

Special thanks to my sponsors NeuroGEARS and AnderT. The Mochi Library ecosystem wouldn't have ever gotten this far without your support!

v0.0.0-alpha0

12 Jan 22:09
8aef81c
Compare
Choose a tag to compare

Mochi.DearImGui v0.0.0-alpha0 Sponsor

This is the initial NuGet.org pre-release of Mochi.DearImGui!

This release wraps ocornut/imgui@704ab11 (1.87 WIP Docking).

Currently packages are provided for Windows x64 and Linux x64. The Mochi.DearImGui package only enables Windows x64, eventually it will be a multi-platform meta package. Reference Mochi.DearImGui.linux-x64 for Linux. Conditionally select Mochi.DearImGui.linux-x64 or Mochi.DearImGui.win-x64 for a cross-platform app.

This release introduces a Dear ImGui backend for OpenTK implemented entirely in C#. It is published as Mochi.DearImGui.OpenTK and is cross-platform. See the sample in the repo for example usage.

Currently Linux ARM64 packages are not being published since OpenTK's GLFW runtime is not published for Linux ARM64. If you're interested in Linux ARM64 (with or without the OpenTK backend) please get in touch. It shouldn't be too hard to add, I just didn't have time to test things and it seemed less useful without the OpenTK backend.

By default your project will reference the release variant of the Dear ImGui runtime. If you want to use the debug variant (highly recommended for development), reference the appropriate debug runtime package (IE: Mochi.DearImGui.Native.win-x64-debug) and call MochiDearImGui.SelectRuntimeVariant before invoking any Dear ImGui functionality. using the debug variant during development is strongly recommended.

Special thanks to my sponsors NeuroGEARS and AnderT. The Mochi Library ecosystem wouldn't have ever gotten this far without your support!