I have made a basic imgui backend for bgfx. It is not as fancy as the OpenGL one, since it can't handle multi viewport and doesn't render other textures than the font texture.
Type of change
Added a new bgfx backend in addition to the OpenGL one.
I have flipped the inheritance hierarchy such that instead of the application inheriting from window it is instead the window that inherits from the application. This makes it easy for the user to choose which backend they would like to use. Unfortunately it is a breaking change, I don't know if there is a better way to do this.
[ ] Minor changes or tweaks (quality of life stuff)
[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
I have made a basic imgui backend for bgfx. It is not as fancy as the OpenGL one, since it can't handle multi viewport and doesn't render other textures than the font texture.
Type of change
Added a new bgfx backend in addition to the OpenGL one. I have flipped the inheritance hierarchy such that instead of the application inheriting from window it is instead the window that inherits from the application. This makes it easy for the user to choose which backend they would like to use. Unfortunately it is a breaking change, I don't know if there is a better way to do this.