21 #ifndef vtkOpenGLShaderCache_h
22 #define vtkOpenGLShaderCache_h
41 const char *vertexCode,
42 const char *fragmentCode,
43 const char *geometryCode);
49 std::map<vtkShader::Type,vtkShader *> shaders);
57 void ReleaseCurrentShader();
60 virtual void ReleaseGraphicsResources(
vtkWindow *win);
75 virtual unsigned int ReplaceShaderValues(
81 const char *fragmentCode,
82 const char *geometryCode);
84 std::map<vtkShader::Type,vtkShader *> shaders);
abstract base class for most VTK objects
manage Shader Programs within a context
#define VTKRENDERINGOPENGL2_EXPORT
virtual void ClearLastShaderBound()
window superclass for vtkRenderWindow
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
vtkShaderProgram * LastShaderBound
The ShaderProgram uses one or more Shader objects.