#Is there way to use egui with winit?

23 messages · Page 1 of 1 (latest)

frozen moon
#

Is there way to use egui with winit?

#

and does that make sense?

#

i just want to render simple buttons on screen using some only-rust libraries

half spire
#

You also need something to draw the ui with

#

winit only gives you the window

#

but doesn't give you means to draw to that window

#

You could just use eframe

#

which uses winit as far as I know

#

And draws using opengl

frozen moon
#

oh ok

#

so

#

only eframe + egui??

frozen moon
frozen moon
half spire
half spire
frozen moon
#

hmm so then i dont need eframe?? if i use egui-wgpu??

#

im not sure how it works

half spire
#

It depends on what your goals are

#

If you just want a gui, just use eframe

#

If you want to tinker with winit and wgpu, use egui-winit and egui-wgpu

frozen moon
#

isnt there way to have just gui but with vk?

half spire
#

I don't know