gl:light

(gl:light opengl light pname param)


Description:

set light parameters


Arguments:

         opengl -- opengl instance

          light -- a constant light value such as *gl:light0*

          param -- one or more values for pname (either a vector or reals or an NSData object of floats)

          pname -- a constant param name such as *gl:diffuse*


Returns: boolean


Related: objc:vector->nsdata objc:nsdata->vector 


Examples:



Back to index