This class empowers developers to write and use GLSL mods eaisly in VTK.
More...
#include <vtkGLSLModifierFactory.h>
|
static vtkGLSLModifierBase * | CreateAMod (const std::string &modName) |
| Used by VTK to create a mod for rendering.
|
|
static void | RegisterAMod (const std::string &modName, NewModFunction createFunction, void *userData=nullptr) |
| Developers should register runtime GLSL mods by invoking this function.
|
|
This class empowers developers to write and use GLSL mods eaisly in VTK.
For example, the mod classes could be registered via plugins.
Definition at line 22 of file vtkGLSLModifierFactory.h.
◆ NewModFunction
◆ vtkGLSLModifierFactory()
vtkGLSLModifierFactory::vtkGLSLModifierFactory |
( |
| ) |
|
|
protecteddefault |
◆ ~vtkGLSLModifierFactory()
vtkGLSLModifierFactory::~vtkGLSLModifierFactory |
( |
| ) |
|
|
protecteddefault |
◆ CreateAMod()
Used by VTK to create a mod for rendering.
◆ RegisterAMod()
static void vtkGLSLModifierFactory::RegisterAMod |
( |
const std::string & |
modName, |
|
|
NewModFunction |
createFunction, |
|
|
void * |
userData = nullptr |
|
) |
| |
|
static |
Developers should register runtime GLSL mods by invoking this function.
- Parameters
-
modName | name of your mod's C++ class. |
createFunction | a function that VTK will call to create your mod. |
userData | pass any application specific data that you feel is necessary while initializing your mod. |
The documentation for this class was generated from the following file: