27 #ifndef __vtkShaderProgram2_h
28 #define __vtkShaderProgram2_h
36 class vtkShaderProgram2Uniforms;
86 vtkGetMacro(PrintErrors,
bool);
87 vtkSetMacro(PrintErrors,
bool);
108 bool HasVertexShaders();
112 bool HasTessellationControlShaders();
116 bool HasTessellationEvaluationShaders();
119 bool HasGeometryShaders();
124 bool HasFragmentShaders();
149 void PrintActiveUniformVariables(ostream &os,
157 void PrintActiveUniformVariablesOnCout();
179 void RestoreFixedPipeline();
187 int GetLastBuildStatus();
191 const char *GetLastLinkLog();
195 const char *GetLastValidateLog();
198 virtual void ReleaseGraphicsResources();
205 int GetAttributeLocation(
const char *
name);
220 bool DisplayListUnderCreationInCompileMode();
233 vtkSetMacro(GeometryTypeIn,
int);
234 vtkGetMacro(GeometryTypeIn,
int);
245 vtkSetMacro(GeometryVerticesOut,
int);
246 vtkGetMacro(GeometryVerticesOut,
int);
258 vtkSetMacro(GeometryTypeOut,
int);
259 vtkGetMacro(GeometryTypeOut,
int);