Go to the documentation of this file.
28 #include "vtkRenderingOpenGL2Module.h"
136 void operator=(
const vtkShader&) =
delete;
void Cleanup()
Delete the shader.
@ Fragment
Fragment shader.
void SetType(Type type)
Set the shader type.
std::string GetError() const
Get the error message (empty if none) for the shader.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
bool operator>(const ReplacementSpec &v1) const
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
std::string OriginalValue
a simple class to control print indentation
Type
Available shader types.
int GetHandle() const
Get the handle of the shader.
Vertex or Fragment shader, combined into a ShaderProgram.
bool Compile()
Compile the shader.
vtkShader::Type ShaderType
void SetSource(const std::string &source)
Set the shader source to the supplied string.
Type GetType() const
Get the shader type, typically Vertex or Fragment.
@ Geometry
Geometry shader.
bool operator<(const ReplacementSpec &v1) const
std::string GetSource() const
Get the source for the shader.