GetInt
This function gets the value of an integer uniform.
Syntax
- number GetInt(string name)
Parameters
- name: the name of the shader uniform.
Returns
Returns an integer value. If the uniform does not exist, or is not of the proper type, 0 will be returned.