SetMat4
This function sets a Mat4 uniform.
Syntax
- bool SetMat4(const std::string& name, const Mat4& m)
Parameters
- name: the name of the shader uniform.
- m: a Mat4 value.
Returns
Returns true if the uniform exists and is of the correct type, otherwise false is returned