24 #include "vtkRenderingOpenGL2Module.h" 54 void SetType(Type
type);
95 void operator=(const
vtkShader&) VTK_DELETE_FUNCTION;
std::string GetError() const
Get the error message (empty if none) for the shader.
Type GetType() const
Get the shader type, typically Vertex or Fragment.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Type
Available shader types.
a simple class to control print indentation
boost::graph_traits< vtkGraph *>::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Vertex or Fragment shader, combined into a ShaderProgram.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
std::string GetSource() const
Get the source for the shader.
int GetHandle() const
Get the handle of the shader.