Skip to main content

FrameCallback

Type Alias FrameCallback 

Source
pub type FrameCallback = Box<dyn FnMut(&mut RenderState) -> Result<()>>;
Expand description

Callback invoked each frame to run the TS step function. Returns the list of sprite commands to render.

Aliased Typeยง

pub struct FrameCallback(/* private fields */);