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

add RGFW examples #664

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ColleagueRiley
Copy link

This adds RGFW examples to nuklear including,

rgfw_opengl2, rgfw_opengl3, and rgfw_opengl4 as well as an rgfw example for rawfb.

(I think it would be better if Nuklear separated the platform API from the graphics API, similar to Dear ImGUI)

@RobLoach
Copy link
Contributor

RobLoach commented Jul 29, 2024

This is great, thanks a lot. Is there a way to re-use some of the same code across the different implementations? Could save some maintenance time. Perhaps have a parent nuklear_rgfw.h, and then nuklear_rgfw_*.h for each individual implementation?

@ColleagueRiley
Copy link
Author

@RobLoach
This is a problem for each platform as far as I can tell.

Dear ImGUI handles it with
imgui_opengl.h and imgui_.h

Where the graphics API platform can work with any windowing API platform. Assuming the platform has support for that graphics API.

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.

2 participants