Gl
(gb.opengl)
This
class implements all the functions of the OpenGL library.
The OpenGL syntax was followed as much as possible, except for the following points:
- A function that received a C array pointer and its integer count as arguments now receives a Gambas array.
- Some constants had the same name as an OpenGL method. An underscore was added to their names in order to avoid the naming conflict. These constants are: Gl.ACCUM_, Gl.BITMAP_, Gl.CLEAR_ and Gl.VIEWPORT_.
代号