27 #ifndef __vtkShaderProgram2_h
28 #define __vtkShaderProgram2_h
30 #include "vtkRenderingOpenGLModule.h"
37 class vtkShaderProgram2Uniforms;
87 vtkGetMacro(PrintErrors,
bool);
88 vtkSetMacro(PrintErrors,
bool);
109 bool HasVertexShaders();
113 bool HasTessellationControlShaders();
117 bool HasTessellationEvaluationShaders();
120 bool HasGeometryShaders();
125 bool HasFragmentShaders();
150 void PrintActiveUniformVariables(ostream &os,
158 void PrintActiveUniformVariablesOnCout();
180 void RestoreFixedPipeline();
188 int GetLastBuildStatus();
192 const char *GetLastLinkLog();
196 const char *GetLastValidateLog();
199 virtual void ReleaseGraphicsResources();
206 int GetAttributeLocation(
const char *
name);
221 bool DisplayListUnderCreationInCompileMode();
234 vtkSetMacro(GeometryTypeIn,
int);
235 vtkGetMacro(GeometryTypeIn,
int);
246 vtkSetMacro(GeometryVerticesOut,
int);
247 vtkGetMacro(GeometryVerticesOut,
int);
259 vtkSetMacro(GeometryTypeOut,
int);
260 vtkGetMacro(GeometryTypeOut,
int);