pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
GLUE

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

Module reference for Pike v7.8 release 116, 2008-12-31