Struct imgui_wgpu::Renderer [−][src]
Fields
textures: Textures<Texture>
Textures of the font atlas and all images.
Implementations
Create an entirely new imgui wgpu renderer.
pub fn render<'r>(
&'r mut self,
draw_data: &DrawData,
queue: &Queue,
device: &Device,
rpass: &mut RenderPass<'r>
) -> RendererResult<()>
pub fn render<'r>(
&'r mut self,
draw_data: &DrawData,
queue: &Queue,
device: &Device,
rpass: &mut RenderPass<'r>
) -> RendererResult<()>
Render the current imgui frame.
Updates the texture on the GPU corresponding to the current imgui font atlas.
This has to be called after loading a font.