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.