Struct amethyst_utils::fps_counter::FPSCounterSystem
[−]
[src]
pub struct FPSCounterSystem;
Add this system to your game to automatically push FPS values to the FPSCounter resource with id 0
Trait Implementations
impl<'a> System<'a> for FPSCounterSystem
[src]
type SystemData = (Fetch<'a, Time>, FetchMut<'a, FPSCounter>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (time, counter): Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more