Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGFX backend #172

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

BGFX backend #172

wants to merge 2 commits into from

Conversation

mathiasgredal
Copy link

@mathiasgredal mathiasgredal commented Mar 24, 2023

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.
image

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)
  • This change requires a documentation update

@mathiasgredal mathiasgredal force-pushed the bgfx-backend branch 5 times, most recently from ff6322a to b2a64a7 Compare March 24, 2023 05:10
@mathiasgredal mathiasgredal changed the title WIP: Basic BGFX backend BGFX backend Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant