Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method GLUE.allocate_light()


Method allocate_light

int 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