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