VTK
vtkOpenGLUniform Class Reference

helper class to set custom uniform variables in GLSL shaders. More...

#include <vtkOpenGLUniforms.h>

Detailed Description

helper class to set custom uniform variables in GLSL shaders.

This class implements all SetUniform* functions supported by vtkShaderProgram but instead of directly calling the underlying OpenGL functions, it caches the name and value of the variable and provides a mechanism for client mappers to set all cached variables at once in a generic way.


The documentation for this class was generated from the following file: