Nuklear
Nuklear copied to clipboard
Backend: SDL2+Vulkan
I was wondering if anybody wrote such a backend.
This is a pretty good starting point. It doesn't seem to handle textures beyond the font texture, but it should get you up and running: https://github.com/m0ppers/nuklear-glfw-vulkan
@Badgerthwart thanks for the pointer!
@m0ppers willing to make a PR? We'll happily merge your backend and give you commit permissions to this repository if you'd like to participate on development in general (especially review PRs dealing with nuklear.h
itself).
@dumblob thanks for reaching out. unfortunately I have too many side projects already :(
Understood. Yeah, reviewing is time consuming. Still, if you'd find few minutes for the PR (as you understand the code the best), that'd be great :wink:.
Hey, since I've used this, nuklear-glfw-vulkan, and had to make some modifications to make it usable in a ('real') application, I could upstream my work. I do have very little experience with nuklear. How would you like it the most as a demo like with opengl or part of the main src? Because it is far more code than the little opengl wrappers(nuklear_sdl_glX.h).
We'd prefer it to be a "demo" (i.e. a new backend). Feel free to structure the backend in a way it's readable. Preferably though as a single file (.h) or two files (.c .h) to ease adoption by end users. And don't worry, reviews for backends are not as strict as for nuklear.h
itself :wink:.
I'm very interested on this, @aheirman !!
Hey, since I've used this, nuklear-glfw-vulkan, and had to make some modifications to make it usable in a ('real') application, I could upstream my work. I do have very little experience with nuklear. How would you like it the most as a demo like with opengl or part of the main src? Because it is far more code than the little opengl wrappers(nuklear_sdl_glX.h).
yes please, pass it on!
Now Glfw+vulkan backend is integrated in demos with #583, doing an SDL2+vulkan should be easier :)