SDL::GFX::FPSManager(3pm)

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.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Authors

See "AUTHORS" in SDL.

From libsdl-perl 2.548-5+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.