gled-ui 2.31.1

gled's egui interface, shared by the desktop app and the browser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub(crate) mod renderer_callback;
pub(crate) mod thumbnails;

use gled_gpu::gpu::Gpu;

/// The UI device owned by egui. Only use it on the UI thread.
pub(crate) fn ui_gpu() -> Gpu {
    let render_state = crate::wgpu_render_state();
    Gpu {
        device: render_state.device,
        queue: render_state.queue,
    }
}