pods::SDL::GFX::FPSManager(3pm) | User Contributed Perl Documentation | pods::SDL::GFX::FPSManager(3pm) |
SDL::GFX::FPSManager - data structure used by SDL::GFX::Framerate
GFX, Structure
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.
my $fc = $fps->framecount;
Returns the "framecount".
my $rt = $fps->rateticks;
Returns the "rateticks".
my $lt = $fps->lastticks;
Returns the "lastticks".
my $r = $fps->rate;
Returns the "rate".
See "AUTHORS" in SDL.
2024-03-31 | perl v5.38.2 |