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.
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:
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 |
>>: CNNIC report: The number of 5G mobile phone connections reached 365 million
In the past, when talking about living room enter...
Last week, the Paris Olympic surfing competition ...
Sea otters are a type of marine mammal that lives...
Affected by the epidemic, many companies have tra...
Recently, parents of students in Yiyang, Hunan re...
Nowadays, marketing is basically online marketing...
A collection of Amazon introductory to proficient...
Lenovo Group, led by Yang Yuanqing, has entered t...
[[247942]] Introduction Since the beginning of th...
Black holes are time machines, but they have hidd...
[[161252]] Editor's note: In this article, St...
A very complete Douyin short video promotion plan...
To avoid predators, animals such as newborn giraf...
Can WeChat on PC open mini-programs? How to use W...
China News Service, March 19. According to the we...