pub struct Image<'ui> { /* private fields */ }
Expand description
Image draw list primitive, not to be confused with the widget
imgui::Image
.
Implementations§
source§impl<'ui> Image<'ui>
impl<'ui> Image<'ui>
sourcepub fn new(
draw_list: &'ui DrawListMut<'_>,
texture_id: TextureId,
p_min: impl Into<Vector2<f32>>,
p_max: impl Into<Vector2<f32>>
) -> Self
pub fn new( draw_list: &'ui DrawListMut<'_>, texture_id: TextureId, p_min: impl Into<Vector2<f32>>, p_max: impl Into<Vector2<f32>> ) -> Self
Typically constructed by DrawListMut::add_image