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.
pub fn texture_preview_ui(
render_ctx: &RenderContext,
ui: &mut Ui,
ui_layout: UiLayout,
debug_name: &str,
texture: ColormappedTexture,
) -> Response
Show the given texture with an appropriate size.