19 #include "vtkShader2.h"
31 if (m_VtkShaderProgram)
33 m_VtkShaderProgram->Use();
39 if (m_VtkShaderProgram)
41 m_VtkShaderProgram->Restore();
47 m_VtkShaderProgram = p;
52 return m_VtkShaderProgram;
57 return m_ShaderTimestampUpdate;
virtual void Activate() override
virtual ~VtkShaderProgram()
virtual void Deactivate() override
itk::TimeStamp & GetShaderTimestampUpdate()
void SetVtkShaderProgram(vtkSmartPointer< vtkShaderProgram2 > p)
vtkSmartPointer< vtkShaderProgram2 > GetVtkShaderProgram() const