26 #ifndef vtkShaderDeviceAdapter2_h 27 #define vtkShaderDeviceAdapter2_h 29 #include "vtkRenderingCoreModule.h" 32 class vtkShaderProgram2;
53 virtual void SendAttribute(
const char* attrname,
int components,
int type,
54 const void* attribute,
55 unsigned long offset = 0) = 0;
69 virtual void PrepareForRender() = 0;
abstract base class for most VTK objects
void SetShaderProgram(vtkShaderProgram2 *program)
Set the shader program which is being updated by this device adapter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkShaderProgram2 * ShaderProgram
an adapter to pass generic vertex attributes to the rendering pipeline.