[][src]Struct rg3d::renderer::Statistics

pub struct Statistics {
    pub geometry: RenderPassStatistics,
    pub pure_frame_time: f32,
    pub capped_frame_time: f32,
    pub frames_per_second: usize,
    // some fields omitted
}

Renderer statistics for one frame, also includes current frames per second amount.

Fields

geometry: RenderPassStatistics

Geometry statistics.

pure_frame_time: f32

Real time consumed to render frame.

capped_frame_time: f32

Total time renderer took to process single frame, usually includes time renderer spend to wait to buffers swap (can include vsync)

frames_per_second: usize

Total amount of frames been rendered in one second.

Trait Implementations

impl AddAssign<RenderPassStatistics> for Statistics[src]

impl Clone for Statistics[src]

impl Copy for Statistics[src]

impl Default for Statistics[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> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,