athanggupte / ApexGameEngine

Apex Game Engine
MIT License
4 stars 1 forks source link

Move ImGui dependency from Engine to Editor #37

Open athanggupte opened 2 years ago

athanggupte commented 2 years ago

Currently, the ImGui library is directly linked to the engine code and is thus a hard dependency of the engine. That means even in the runtime we will be forced to include the binaries of ImGui. We should move the ImGui backend and the ImGui begin and end functions to a separate module called DebugUI or to the Editor directly. The engine must be able to build without the ImGui binaries.