Struct egui_wgpu::Renderer[][src]

pub struct Renderer { /* fields omitted */ }
Expand description

egui renderer

Implementations

Creates a new egui renderer

output_format needs to be either [wgpu::TextureFormat::Rgba8UnormSrgb] or [wgpu::TextureFormat::Bgra8UnormSrgb]. Panics otherwise.

Renders all egui meshes onto render_target.

Registers a wgpu::Texture in the renderer.

Unregisters the texture.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.