|
|
Creates and initializes an OpenGL context (via MesaGL library) for 3D rendering. This context is connected with DrawBuffer or Window (as child of DrawBuffer). The size of rendered surface is taken from the size of connected DrawBuffer or size is explicitly passed to the constructor. - Parameters:
-
| d | the pointer to the connected surface |
| ww | width of surface (less or equal to the connected surface) |
| hh | height of surface (less or equal to the connected surface) |
| direct_access | if true then rendering will be performed into the VIDEORAM directly, otherwise into RAM buffer. In some cases it takes some more FPS. |
|