Skip to content

glUniformVec3f

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

function glUniformVec3f(int $location, \GL\Math\Vec3 $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\Vec3 $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/.