pods::...anager(3pm)
π NAME π
Okay so bestie, you're on the pods::...anager(3pm) manual page, and it's all about SDL::GFX::FPSManager β the data structure used by SDL::GFX::Framerate. Lowkey essential, highkey iconic. π¦β¨
πΈ CATEGORY πΈ
GFX, Structure β that's the category, periodt. π
π METHODS π
π new π
use SDL;
use SDL::GFX::Framerate;
use SDL::GFX::FPSManager;
my $fps = SDL::GFX::FPSManager->new(0, 0, 0, 0);
Okay so new initializes the framerate manager object. Slay. β¨ Arguments, in order: framecount, rateticks, lastticks, rate.
π¦ framecount π¦
my $fc = $fps->framecount;
Returns the "framecount". That's it. That's the whole snack. π
π rateticks π
my $rt = $fps->rateticks;
Returns the "rateticks". Obsessed. π
β lastticks β
my $lt = $fps->lastticks;
Returns the "lastticks". No cap. π«Ά
π₯ rate π₯
my $r = $fps->rate;
Returns the "rate". Periodt. π
π AUTHORS π
See "AUTHORS" in SDL. That's the author lore, iykyk. π
Source/version: User Contributed Perl Documentation, perl v5.42.3. Date: 2026-08-19. Bye bestie, go slay! π«Άππ
π¦ where this page comes from
- ubuntu stonking: libsdl-perl 2.548-6build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms