25 #ifndef vtkOpenGLRenderUtilities_h 26 #define vtkOpenGLRenderUtilities_h 29 #include "vtkRenderingOpenGL2Module.h" 52 static void RenderQuad(
54 static void RenderTriangles(
float* verts,
unsigned int numVerts, GLuint* indices,
105 static std::string GetFullScreenQuadVertexShader();
106 static std::string GetFullScreenQuadFragmentShaderTemplate();
107 static std::string GetFullScreenQuadGeometryShader();
108 static bool PrepFullScreenVAO(
110 static void DrawFullScreenQuad();
114 static bool PrepFullScreenVAO(
125 static void MarkDebugEvent(
const std::string& event);
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.
OpenGL rendering utility functions.
a simple class to control print indentation
The VertexArrayObject class uses, or emulates, vertex array objects.
The ShaderProgram uses one or more Shader objects.