GetInt
This function gets the value of an integer uniform.
Syntax
- int GetInt(const std::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.