Extracted from Pike v7.6 release 33 at 2006-10-17.
pike.ida.liu.se
[Top]
GLUE

Method GLUE.allocate_light()


Method allocate_light

int GLUE.allocate_light()

Description

Allocate a hardwareaccelerated lightsource from OpenGL.

Returns

an id which may be added to the GL.GL_LIGHT0 constant.

See also

free_light