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

AUTHOR

85       Chris Marshall, "<devel dot chm dot 01 at gmail.com>"
86

BUGS

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

SUPPORT

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

ACKNOWLEDGEMENTS

99       TBD including PDL TriD developers and POGL developers...thanks to all.
100
102       Copyright 2009 Chris Marshall.
103
104       This program is free software; you can redistribute it and/or modify it
105       under the terms of either: the GNU General Public License as published
106       by the Free Software Foundation; or the Artistic License.
107
108       See http://dev.perl.org/licenses/ for more information.
109
110
111
112perl v5.34.0                      2021-08-16                         OpenGL(3)
Impressum