16 #ifndef vtkVolumeShader_h
17 #define vtkVolumeShader_h
31 void LoadFromString(
GLenum whichShader,
const string&
source);
32 void LoadFromFile(
GLenum whichShader,
const string& filename);
33 void CreateAndLinkProgram();
36 void AddAttribute(
const string& attribute);
37 void AddUniform(
const string& uniform);
44 GLuint operator[](
const string& attribute);
45 GLuint operator()(
const string& uniform);
46 void DeleteShaderProgram();
53 map<string,GLuint> AttributeList;
54 map<string,GLuint> UniformLocationList;
57 #endif // vtkVolumeShader_h
typedef GLuint(APIENTRYP PFNGLCREATEPROGRAMPROC)(void)
const GLenum GEOMETRY_SHADER
const GLenum VERTEX_SHADER
const GLenum FRAGMENT_SHADER
unsigned int GetProgram()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)