gl:get-attrib-location

(gl:get-attrib-location opengl program-number variable-name


Description:

returns a location of the attribute variable-name in the program spec'd by program-number


Arguments:

         opengl -- opengl instance

  variable-name -- the uniform variable name as a string

 program-number -- the integer number of the shader program in which the uniform variable resides


Returns: integer: location of the attribute varaible


Related: gl:vertex-attrib 


Examples:



Back to index