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