You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to get this crate to work with imgui-rs. I can get a imgui-rs window up, but don't know how to link it with raylib.
I'm assuming I need to access raylib's context for imgui to draw to. But I have not found a way to do that.
So I'm making a issue to try and see if its possible to hook the two together.
Thanks!
The text was updated successfully, but these errors were encountered:
I have been trying to get this crate to work with imgui-rs. I can get a imgui-rs window up, but don't know how to link it with raylib. I'm assuming I need to access raylib's context for imgui to draw to. But I have not found a way to do that.
So I'm making a issue to try and see if its possible to hook the two together.
Thanks!
It is possible to hook imgui-rs and raylib-rs, I've made a gist from the code I use in my own project: https://gist.github.com/Sergiovan/8c6eaa8110440c31ff76f1d038ff4e9c
I translated this from the C++ version of the raylib bindings, which are also referenced in the gist. To use them you simply
I can't promise the code is flawless and I'm fairly certain it does not cover the entire renderer/platform API, but I hope it can at least help you (or someone else reading this) with their own projects.
Hello!
I have been trying to get this crate to work with imgui-rs. I can get a imgui-rs window up, but don't know how to link it with raylib.
I'm assuming I need to access raylib's context for imgui to draw to. But I have not found a way to do that.
So I'm making a issue to try and see if its possible to hook the two together.
Thanks!
The text was updated successfully, but these errors were encountered: