26 #ifndef vtkShaderDeviceAdapter2_h
27 #define vtkShaderDeviceAdapter2_h
29 #include "vtkRenderingCoreModule.h"
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;
73 ~vtkShaderDeviceAdapter2();
78 vtkShaderDeviceAdapter2(const vtkShaderDeviceAdapter2&) VTK_DELETE_FUNCTION;
79 void operator=(const vtkShaderDeviceAdapter2&) VTK_DELETE_FUNCTION;
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
an adapter to pass generic vertex attributes to the rendering pipeline.