Struct egui::FullOutput
source · pub struct FullOutput {
pub platform_output: PlatformOutput,
pub textures_delta: TexturesDelta,
pub shapes: Vec<ClippedShape>,
pub pixels_per_point: f32,
pub viewport_output: ViewportIdMap<ViewportOutput>,
}
Expand description
What egui emits each frame from crate::Context::run
.
The backend should use this.
Fields§
§platform_output: PlatformOutput
Non-rendering related output.
textures_delta: TexturesDelta
Texture changes since last frame (including the font texture).
The backend needs to apply crate::TexturesDelta::set
before painting,
and free any texture in crate::TexturesDelta::free
after painting.
It is assumed that all egui viewports share the same painter and texture namespace.
shapes: Vec<ClippedShape>
What to paint.
You can use crate::Context::tessellate
to turn this into triangles.
pixels_per_point: f32
The number of physical pixels per logical ui point, for the viewport that was updated.
You can pass this to crate::Context::tessellate
together with Self::shapes
.
viewport_output: ViewportIdMap<ViewportOutput>
All the active viewports, including the root.
It is up to the integration to spawn a native window for each viewport, and to close any window that no longer has a viewport in this map.
Implementations§
source§impl FullOutput
impl FullOutput
Trait Implementations§
source§impl Clone for FullOutput
impl Clone for FullOutput
source§fn clone(&self) -> FullOutput
fn clone(&self) -> FullOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FullOutput
impl Default for FullOutput
source§fn default() -> FullOutput
fn default() -> FullOutput
Auto Trait Implementations§
impl Freeze for FullOutput
impl !RefUnwindSafe for FullOutput
impl Send for FullOutput
impl Sync for FullOutput
impl Unpin for FullOutput
impl !UnwindSafe for FullOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)