Function re_data_ui::image::texture_preview_ui

source ·
pub fn texture_preview_ui(
    render_ctx: &RenderContext,
    ui: &mut Ui,
    ui_layout: UiLayout,
    debug_name: &str,
    texture: ColormappedTexture
) -> Response
Expand description

Show the given texture with an appropriate size.