Skip to content

glUniformVec2f

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

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