egui::Image::new
can take a User(u64)
as the first parameter. I have a glow::Framebuffer that I want to pass to the function like
egui::Image::new(User(frame_buffer), egui::Vec2::new(1280.0, 720.0));
It looks like glow::Frambuffer
is a NativeFramebuffer(NonZeroU32)
. How do I convert a glow::Framebuffer
to a u64
?