How powerful is the real-time rendering UI that makes me excited after reading the introduction?

How powerful is the real-time rendering UI that makes me excited after reading the introduction?

Today, I want to share with you an instant rendering UI implemented in C/C++ language - ImGUI, which implements almost all UI elements such as buttons, text, input boxes, tables, Radio/Check Boxes and lists, and gives people a refreshing feeling. It is also extremely easy to get started and learn. ImGUI not only provides cross-platform support, but also can cover the support of almost all compilers.

ImGui is designed to support rapid iteration and enable programmers to create content creation tools and visualization/debugging tools (as opposed to UIs for general end users). ImGui is particularly well suited for integration into game engines (for tools), real-time 3D applications, full-screen applications, embedded applications, or any application on a console platform where OS functionality is non-standard.

[[419961]]

The core of ImGui is contained in some platform-independent files that you can easily compile in your application/engine. They are all files in the root directory of the repository (imgui*.cpp, imgui*.h). No specific build process is required. You can add the .cpp files to your existing project.

Various graphics APIs and rendering platforms are provided in the backends/ folder, and example applications are in the examples/ folder. Once you have set up Dear ImGui in your application, you can use it _anywhere_ in your program loop:

Currently, ImGui has 31.5K stars and 5.3K branches on github (github address: https://github.com/ocornut/imgui)

Code:

  1. ImGui::Text( "Hello, world %d" , 123);
  2. if (ImGui::Button( "Save" ))
  3. MySaveFunction();
  4. ImGui::InputText( "string" , buf, IM_ARRAYSIZE(buf));
  5. ImGui::SliderFloat( "float" , &f, 0.0f, 1.0f);

Running results:

In the issue, there is a collection of screenshots made by various people using imgui collected by ocornut:

There is a question on Zhihu: How do you evaluate imgui? One netizen answered: After reading the Readme, I want to pay money. Many programmers have also expressed their experience on it. Zhihu link address: https://www.zhihu.com/question/267602287

<<:  Apple App Store makes a big move! Allowing developers and users to use third-party payment methods

>>:  CNNIC report: The number of 5G mobile phone connections reached 365 million

Recommend

GM accused of manipulating U.S. autonomous driving legislation

This year, at least five states — Georgia, Illino...

Say “no” to excessive permissions requested by mobile apps

With the rapid development of mobile Internet, va...

More than 60 tools for event operation and promotion, a must-have!

To organize a good event, it often goes through t...

World Kidney Day丨Do you really understand your kidneys?

March 10th is World Kidney Day It is reported tha...

Advertising channel costs, optimization and techniques!

Regarding advertising, I shared some experiences ...

Is releasing fireflies romantic or cruel?

"The silver candlelight in autumn cools the ...

A widget dancing on a needle with shackles on its legs

Since iOS 10, when Apple made a major revision to...

How to plan and promote a perfect event?

I believe that every event planner or person who ...

Why are programmers willing to open source their work on GitHub?

[[227457]] From its official launch on April 10, ...

Don’t take triglycerides lightly; high levels can be fatal!

《Cotton Swab Medical Science Popularization》 Xu S...