VTK
|
helper class to set custom uniform variables in GLSL shaders. More...
#include <vtkOpenGLUniforms.h>
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.