#include <shddefmanager.h>
Static Public Member Functions | |
| static ShdDefFactoryClass * | Find_Factory (uint32 class_id) |
| Used to look up the ShdDefFactory for a given class id. | |
| static ShdDefFactoryClass * | Find_Factory (const char *name) |
| Used to look up the ShdDefFactory for a given named shader def. | |
| static void | Register_Factory (ShdDefFactoryClass *factory) |
| Registers a factory with the system. | |
| static void | Unregister_Factory (ShdDefFactoryClass *factory) |
| removes a factory from the system | |
| static ShdDefFactoryClass * | Get_First (uint32 superclass_id) |
| static ShdDefFactoryClass * | Get_Next (ShdDefFactoryClass *current, uint32 superclass_id) |
| static ShdDefFactoryClass * | Get_First (void) |
| static ShdDefFactoryClass * | Get_Next (ShdDefFactoryClass *current) |
| static ShdDefClass * | Create_ShdDefClass_Instance (uint32 class_id) |
| static void | Save_Shader (ChunkSaveClass &csave, ShdDefClass *shddef) |
| static void | Load_Shader (ChunkLoadClass &cload, ShdDefClass **shddef) |
ShdDefManagerClass - This class contains a list of all constructed ShdDefFactories.
This class is used to iterate through the shader definition factories in the material editor for example.
Definition at line 57 of file shddefmanager.h.
|
static |
Definition at line 208 of file shddefmanager.cpp.
|
static |
Used to look up the ShdDefFactory for a given named shader def.
| name | - name of the desired shader def |
Definition at line 92 of file shddefmanager.cpp.
|
static |
Used to look up the ShdDefFactory for a given class id.
| class_id | - class id to look up the factory for |
Definition at line 62 of file shddefmanager.cpp.
|
static |
|
static |
Definition at line 142 of file shddefmanager.cpp.
|
static |
Definition at line 147 of file shddefmanager.cpp.
|
static |
|
static |
Definition at line 236 of file shddefmanager.cpp.
|
static |
Registers a factory with the system.
| factory | - the factory to register |
Definition at line 121 of file shddefmanager.cpp.
|
static |
Definition at line 223 of file shddefmanager.cpp.
|
static |
removes a factory from the system
| factory | - the factory to unregister |
Definition at line 134 of file shddefmanager.cpp.