SDL::OpenGL::App 1.08 review
Download
|
|
SDL::OpenGL::App is a Glut like wrapper for SDL OpenGL apps.
SYNOPSIS
use SDL::OpenGL::App;
my $app=new SDL::OpenGL::App;
$app->app_name("Gears");
$app->register_handler(init => &init,
draw => &draw,
events => &events,
idle => &idle,
reshape => &reshape,
);
$app->run();
METHODS
new
add_startup_parameter
add_runtime_help
register_handler
pointer_show
run
pump
screendump
app_name
screen_width
screen_height
fullscreen
fps
glinfo
red_size
green_size
blue_size
depth_size
doublebufer
Package utility methods:
read_texture
rle_enc
rle_dec
=head1 EXAMPLES
Requirements:
Perl
SDL::OpenGL::App 1.08 keywords