setUniform4f
Default mainpageApplicationProgramObjectsetUniform4f
Description Source Call Graph
ProgramObject::setUniform4f ( Public Method )
Author: Don Olmstead
Sets a 4 float uniform variable
 
Syntax / parameters
void setUniform4f(const char *varname, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)

Name Type Default Description
varname const char *
  The name of the uniform
v0 GLfloat
  The first value to set the uniform to
v1 GLfloat
  The second value to set the uniform to
v2 GLfloat
  The third value to set the uniform to
v3 GLfloat
  The fourth value to set the uniform to
Description
Sets a 4 float uniform variable
 
Source
The documentation for this Member was generated from the following files:
  • ProgramObject.cpp
  • ProgramObject.hpp