gl:uniform

(gl:uniform opengl location val [val2] [val3] [val4])


Description:

Sets the value of the uniform variable


Arguments:

       location -- the location of the uniform variable

         opengl -- opengl instance

            val -- 1-4 integer or real number variables


Returns: boolean


Related: gl:uniform 


Examples:



Back to index