Trait egui_fltk_frontend::ImgWidgetConvert[][src]

pub trait ImgWidgetConvert {
    fn to_img_widget(
        self,
        painter: &mut Painter,
        device: &Device,
        queue: &Queue,
        label: &str
    ) -> Result<ImgWidget, FltkError>; }
Expand description

Low level converter for fltk::image

Required methods

Convert fltk Image to Egui Image Widget.

label: Debug label of the texture. This will show up in graphics debuggers for easy identification.

Implementors