[][src]Trait piston_window::AfterRenderEvent

pub trait AfterRenderEvent {
    fn from_after_render_args(
        args: &AfterRenderArgs,
        old_event: &Self
    ) -> Option<Self>;
fn after_render<U, F>(&self, f: F) -> Option<U>
    where
        F: FnMut(&AfterRenderArgs) -> U
; fn after_render_args(&self) -> Option<AfterRenderArgs> { ... } }

After rendering and buffers are swapped.

Required Methods

Creates an after render event.

Calls closure if this is an after render event.

Provided Methods

Returns after render arguments.

Implementors

impl AfterRenderEvent for Event
[src]