23 #include "vtkRenderingOpenGL2Module.h"
53 void SetType(Type
type);
Type GetType() const
Get the shader type, typically Vertex or Fragment.
abstract base class for most VTK objects
Type
Available shader types.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
int GetHandle() const
Get the handle of the shader.
std::string GetError() const
Get the error message (empty if none) for the shader.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Vertex or Fragment shader, combined into a ShaderProgram.
std::string GetSource() const
Get the source for the shader.