1OpenGL(3)             User Contributed Perl Documentation            OpenGL(3)
2
3
4

NAME

6       PDL::Graphics::OpenGL::Perl::OpenGL - PDL TriD OpenGL interface using
7       POGL
8

VERSION

10       Version 0.01_10
11

SYNOPSIS

13       This module provides the glue between the Perl OpenGL functions and the
14       API defined by the internal PDL::Graphics::OpenGL one. It also supports
15       any miscellaneous OpenGL or GUI related functionality to support
16       PDL::Graphics::TriD refactoring.
17
18       You should eventually be able to replace:
19
20           use PDL::Graphics::OpenGL
21       by
22           use PDL::Graphics::OpenGL::Perl::OpenGL;
23
24       This module also includes support for FreeGLUT and GLUT instead of
25       X11+GLX as mechanism for creating windows and graphics contexts.
26

EXPORT

28       See the documentation for the OpenGL module.  More details to follow as
29       the refactored TriD module interface and build environment matures
30

FUNCTIONS

32   TBD
33   TBD
34   new($class,$options,[$window_type])
35       Returns a new OpenGL object with attributes specified in the options
36       field, and of the 3d window type, if specified.  These attributes are:
37
38         x,y - the position of the upper left corner of the window (0,0)
39         width,height - the width and height of the window in pixels (500,500)
40         parent - the parent under which the new window should be opened (root)
41         mask - the user interface mask (StructureNotifyMask)
42         attributes - attributes to pass to glXChooseVisual
43
44       Allowed 3d window types, case insensitive, are:
45
46         glut - use Perl OpenGL bindings and GLUT windows (no Tk)
47         x11  - use Perl OpenGL (POGL) bindings with X11 (disabled)
48
49   default GLUT callbacks
50       These routines are set as the default GLUT callbacks for when GLUT
51       windows are used for PDL/POGL.  Their only function at the moment is to
52       drive an fake XEvent queue to feed the existing TriD GUI controls.  At
53       some point, the X11 stuff will the deprecated and we can rewrite this
54       more cleanly.
55
56   default_options
57       default options for object oriented methods
58
59   XPending()
60       OO interface to XPending
61
62   XResizeWindow(x,y)
63       OO interface to XResizeWindow
64
65   glpXNextEvent()
66       OO interface to glpXNextEvent
67
68   glpRasterFont()
69       OO interface to the glpRasterFont function
70
71   AUTOLOAD
72       If the function is not prototyped in OO we assume there is no explicit
73       mention of the three identifying parameters (Display, Window, Context)
74       and try to load the OpenGL function.
75
76   glXSwapBuffers
77       OO interface to the glXSwapBuffers function
78

AUTHOR

80       Chris Marshall, "<devel dot chm dot 01 at gmail.com>"
81

BUGS

83       Bugs and feature requests may be submitted through the PDL GitHub
84       project page at <https://github.com/PDLPorters/pdl/issues> .
85

SUPPORT

87       PDL uses a mailing list support model.  The Perldl mailing list is the
88       best for questions, problems, and feature discussions with other PDL
89       users and PDL developers.
90
91       To subscribe see the page at <http://pdl.perl.org/?page=mailing-lists>
92

ACKNOWLEDGEMENTS

94       TBD including PDL TriD developers and POGL developers...thanks to all.
95
97       Copyright 2009 Chris Marshall.
98
99       This program is free software; you can redistribute it and/or modify it
100       under the terms of either: the GNU General Public License as published
101       by the Free Software Foundation; or the Artistic License.
102
103       See http://dev.perl.org/licenses/ for more information.
104
105
106
107perl v5.30.0                      2019-09-05                         OpenGL(3)
Impressum