initialize the GLUT library.
Signature
glutInit(
int(
argcp
)
,
char(
argv
)
)-> void
glutInit(
pargc
,
argv
)
Initialise the GLUT library
Parameters
Variables | Description |
argcp
|
A pointer to the program's unmodified
argc
variable from main. Upon return, the
value pointed to by
argcp
will be updated, because
glutInit
extracts any command line options intended for the GLUT library.
|
argv
|
The program's unmodified
argv
variable from main. Like
argcp
,
the data for
argv
will be updated because
glutInit
extracts any
command line options understood by the GLUT library.
|
Sample Code References
The following code samples have been found which appear to reference the
functions described here. Take care that the code may be old, broken or not
even use PyOpenGL.
glutInit
Glinter
Core.py
Lines:
845, 849, 863
{GPL3} OpenGL-Programmable
08-pbo.py
Lines:
349
{GPL3} OpenGL-Programmable
04-vbo.py
Lines:
247