 |
VTK
9.0.1
|
Go to the documentation of this file.
24 #ifndef vtkOpenGLRenderPass_h
25 #define vtkOpenGLRenderPass_h
28 #include "vtkRenderingOpenGL2Module.h"
84 vtkSetMacro(ActiveDrawBuffers,
unsigned int);
85 vtkGetMacro(ActiveDrawBuffers,
unsigned int);
101 unsigned int ActiveDrawBuffers = 0;
108 #endif // vtkOpenGLRenderPass_h
virtual vtkMTimeType GetShaderStageMTime()
For multi-stage render passes that need to change shader code during a single pass,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool PreReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop)
Use vtkShaderProgram::Substitute to replace //VTK::XXX:YYY declarations in the shader sources.
virtual bool SetShaderParameters(vtkShaderProgram *program, vtkAbstractMapper *mapper, vtkProp *prop, vtkOpenGLVertexArrayObject *VAO=nullptr)
Update the uniforms of the shader program.
The ShaderProgram uses one or more Shader objects.
~vtkOpenGLRenderPass() override
a simple class to control print indentation
static vtkInformationObjectBaseVectorKey * RenderPasses()
Key containing information about the current pass.
virtual bool PostReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop)
Use vtkShaderProgram::Substitute to replace //VTK::XXX:YYY declarations in the shader sources.
abstract superclass for all actors, volumes and annotations
void PreRender(const vtkRenderState *s)
Call before rendering to update the actors' information keys.
void PostRender(const vtkRenderState *s)
Call after rendering to clean up the actors' information keys.
Abstract render pass with shader modifications.
Context in which a vtkRenderPass will render.
The VertexArrayObject class uses, or emulates, vertex array objects.
abstract class specifies interface to map data
vtkTypeUInt32 vtkMTimeType
Perform part of the rendering of a vtkRenderer.