[][src]Struct azul_webrender::RenderResults

pub struct RenderResults {
    pub stats: RendererStats,
    pub recorded_dirty_regions: Vec<RecordedDirtyRegion>,
    pub dirty_rects: Vec<DeviceIntRect>,
}

Return type from render(), which contains some repr(C) statistics as well as some non-repr(C) data.

Fields

stats: RendererStats

Statistics about the frame that was rendered.

recorded_dirty_regions: Vec<RecordedDirtyRegion>

A list of dirty world rects. This is only currently useful to test infrastructure. TODO(gw): This needs to be refactored / removed.

dirty_rects: Vec<DeviceIntRect>

A list of the device dirty rects that were updated this frame. TODO(gw): This is an initial interface, likely to change in future. TODO(gw): The dirty rects here are currently only useful when scrolling is not occurring. They are still correct in the case of scrolling, but will be very large (until we expose proper OS compositor support where the dirty rects apply to a specific picture cache slice / OS compositor surface).

Trait Implementations

impl Debug for RenderResults[src]

impl Default for RenderResults[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.