23#ifndef vtkGLSLShaderDeviceAdapter2_h
24#define vtkGLSLShaderDeviceAdapter2_h
26#include "vtkRenderingOpenGLModule.h"
63 const void *attribute,
77 vtkInternal* Internal;
adapter to pass generic vertex attributes to the rendering pipeline to be used in a vtkShaderProgram2...
int GetAttributeLocation(const char *attrName)
static vtkGLSLShaderDeviceAdapter2 * New()
virtual void SendAttribute(const char *attrname, int components, int type, const void *attribute, unsigned long offset=0)
Sends a single attribute to the graphics card.
virtual void PrepareForRender()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGLSLShaderDeviceAdapter2()
~vtkGLSLShaderDeviceAdapter2()
a simple class to control print indentation
an adapter to pass generic vertex attributes to the rendering pipeline.