Texture for ImGui
#1530
-
I want to get texture from framebuffer and to render this texture like this https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples#example-for-opengl-users As I can understand in platform/glfw/glfw_gl_backend.cpp there is GLFWGLRenderableResource, in this class we can get context where there is method getContext(), am I in the right way? |
Beta Was this translation helpful? Give feedback.
Answered by
louwers
Sep 6, 2023
Replies: 1 comment 2 replies
-
Hi @wecand0 did you manage to figure it out? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use a CustomLayer if you want to have low level access into the rendering loop of MapLibre Native and draw stuff with OpenGL yourself. Here is an example:
maplibre-native/test/api/custom_layer.test.cpp
Line 39 in 10955fb