SDL::GFX::FPSManager3pm
Data structure used by sdl::gfx::framerate
Category
GFX, Structure
Methods
new
use SDL;use SDL::GFX::Framerate;use SDL::GFX::FPSManager;my $fps = SDL::GFX::FPSManager->new(0, 0, 0, 0);
Initialize the framerate manager object. Arguments: framecount, rateticks, lastticks, rate.
framecount
my $fc = $fps->framecount;
Returns the "framecount".
rateticks
my $rt = $fps->rateticks;
Returns the "rateticks".
lastticks
my $lt = $fps->lastticks;
Returns the "lastticks".
rate
my $r = $fps->rate;
Returns the "rate".
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.