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