Pike v8.1 release 6

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