Go to the documentation of this file.
29 #ifndef vtkUniformVariables_h
30 #define vtkUniformVariables_h
35 class vtkUniformVariablesMap;
49 int numberOfComponents,
55 void SetUniformit(
const char *
name,
56 int numberOfComponents,
69 int numberOfComponents,
75 void SetUniformft(
const char *
name,
76 int numberOfComponents,
91 int numberOfComponents,
103 int numberOfComponents,
104 int numberOfElements,
163 vtkUniformVariablesMap *Map;
170 int numberOfComponents,
174 for (
int i=0; i<numberOfComponents; ++i)
176 ivalues[i] =
static_cast<int>(
value[i]);
178 this->
SetUniformi(name, numberOfComponents, ivalues);
184 int numberOfComponents,
188 for (
int i=0; i<numberOfComponents; ++i)
190 fvalues[i] =
static_cast<float>(
value[i]);
192 this->
SetUniformf(name, numberOfComponents, fvalues);
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
GLuint const GLchar * name
GLsizei const GLfloat * value
a simple class to control print indentation
#define VTKRENDERINGOPENGL_EXPORT