Shader.uniform4x4

Shader.uniform4x4(name, value)[source]

Store a uniform 4x4 transformation matrix in the shader program at a named location.

Parameters
name: str

The name of the location in the shader program.

value: array-like

A 4x4 transformation matrix in column-major ordering.