GetVec4
This function gets the value of a Vec4 uniform.
Syntax
- Vec4 GetVec4(const std::string& name)
Parameters
- name: the name of the shader uniform.
Returns
Returns a Vec4 value. If the uniform does not exist, or is not of the proper type, Vec4(0) will be returned.