Skip to content

glUniformMatrix4f

Sets a matrix (mat4x4) uniform value to the current shader program.

function glUniformMatrix4f(int $location, bool $transpose, \GL\Math\Mat4 $matrix) : void

PHP-GLFW Note

This method is specifc to the php extension and not part of the original OpenGL API.

arguments
  1. int $location
  2. bool $transpose
  3. \GL\Math\Mat4 $matrix
returns

void


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.