glUniformVec2f¶
Sets a vector (vec2) uniform value to the current shader program.
PHP-GLFW Note
This method is specifc to the php extension and not part of the original OpenGL API.
- arguments
-
int
$location
\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/.