re_viewer_context::gpu_bridge

Function render_image

Source
pub fn render_image(
    render_ctx: &RenderContext,
    egui_painter: &Painter,
    image_rect_on_screen: Rect,
    colormapped_texture: ColormappedTexture,
    texture_options: TextureOptions,
    debug_name: DebugLabel,
) -> Result<()>
Expand description

Render the given image, respecting the clip rectangle of the given painter.