-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Expose glow::Context via epi::Frame
#1198
Comments
there could be some considerations for the still imaginary multi-window feature. gl contexts are usually per window. there could be a slight chance that people will be hitting discord with a lot of opengl questions and we might need to pin renderdoc download link at the top |
I'm now looking into adding a custom |
eframe will now always use egui_glow as a native backend. Part of #1198
eframe will now always use egui_glow as a native backend. Part of #1198
eframe will now always use egui_glow as a native backend. Part of #1198
Since we are converging on using
glow
as the rendering backend foreframe
on both native and web, it would be quite useful to expose the glow GL context to the user, in particular in order to do paint-to-texture from withineframe
.This would need to be opt-in thing though (optional dependency of
epi
) and be fallible (e.g.frame.glow_context()
should returnNone
if we aren't using a glow renderer).This would obviously be for advanced users.
I'm not sure if there is interest in this though. My thinking is that if one wants to do 3D stuff with egui, one should probably use
bevy_egui
,egui-macrquad
, or similar. Still,eframe
has many features these libraries lack (reactive mode, better i/o on web).The text was updated successfully, but these errors were encountered: