Skip to content

glUniformVec4f

Sets a vector (vec4) uniform value to the current shader program.

function glUniformVec4f(int $location, \GL\Math\Vec4 $vec) : 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. \GL\Math\Vec4 $vec
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/.