This file is indexed.

/usr/lib/perl5/pods/SDL/GFX/Framerate.pod is in libsdl-perl 2.540-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
=head1 NAME

SDL::GFX::Framerate - framerate calculating functions

=head1 CATEGORY

GFX

=head1 DESCRIPTION

The framerate functions are used to insert delays into the graphics loop to maintain a constant framerate.

=head1	METHODS

=head2	init

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

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

Initialize the framerate manager, set default framerate of 30Hz and reset delay interpolation.

=head2	set

 SDL::GFX::Framerate::set($fps, 60);

Sets the new desired framerate to 60 frames per second.

=head2	get

 my $rate = SDL::GFX::Framerate::get($fps);

Get the currently set framerate of the manager.

=head2	delay

 SDL::GFX::Framerate::delay($fps);

Generate a delay to accommodate the currently set framerate. Call once in the graphics/rendering loop. 
If the computer cannot keep up with the rate (i.e. drawing too slow), the delay is zero and the delay interpolation is reset.

=head1 AUTHORS

See L<SDL/AUTHORS>.