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