pods::...anager(3pm)

πŸ“¦ version 2.548, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

SDL::GFX::FPSManager is the data structure used by SDL::GFX::Framerate. This page is pods::...anager(3pm) from User Contributed Perl Documentation, and yes bestie, that manual name is a little chaotic, but we move. πŸ’…


🌸 CATEGORY 🌸

GFX, Structure β€” iconic combo, no cap. ✨


✨ METHODS ✨

πŸŽ€ new

use SDL;
use SDL::GFX::Framerate;
use SDL::GFX::FPSManager;

my $fps = SDL::GFX::FPSManager->new(0, 0, 0, 0);

This initializes the framerate manager object. Arguments: framecount, rateticks, lastticks, rate. That's the order, bestie β€” keep it cute and keep it exact. 🫢

πŸ’… framecount

my $fc = $fps->framecount;

Returns the "framecount". Slay. πŸ’–

πŸ¦‹ rateticks

my $rt = $fps->rateticks;

Returns the "rateticks". Periodt. ✨

🌈 lastticks

my $lt = $fps->lastticks;

Returns the "lastticks". Iconic. πŸŽ€

πŸ“ rate

my $r = $fps->rate;

Returns the "rate". Obsessed. πŸ’œ


🫢 AUTHORS 🫢

See "AUTHORS" in SDL. That's the whole reference, bestie β€” go check the SDL page for the full author tea. β˜•


okay that's the whole page β€” no cap. The footer vibes are pods::...anager(3pm), perl v5.42.0, dated 2024-05-01. mwah πŸ’‹

πŸ“¦ where this page comes from