| 
    VTK
    9.5.20251103
    
   | 
 
This class empowers developers to write and use GLSL mods easily in VTK. More...
#include <vtkGLSLModifierFactory.h>
Public Types | |
| using | NewModFunction = std::function< vtkGLSLModifierBase *(void *userData)> | 
Static Public Member Functions | |
| 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 easily in VTK.
For example, the mod classes could be registered via plugins.
Definition at line 22 of file vtkGLSLModifierFactory.h.
| using vtkGLSLModifierFactory::NewModFunction = std::function<vtkGLSLModifierBase*(void* userData)> | 
Definition at line 25 of file vtkGLSLModifierFactory.h.
      
  | 
  static | 
Used by VTK to create a mod for rendering.
      
  | 
  static | 
Developers should register runtime GLSL mods by invoking this function.
| 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. |