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