![]() |
Radium Engine
1.7.0
|
Functions | |
| void | addConfiguration (const ShaderConfiguration &config) |
| bool | removeConfiguration (const std::string &configName) |
| Core::Utils::optional< ShaderConfiguration > | getConfiguration (const std::string &name) |
Variables | |
| static std::map< std::string, ShaderConfiguration > | configs |
Factory that manage the set of named shader configurations Usefull for the management of shader libraries where a shader configuration (source code, defines, properties) are defined once and reuse multiple time.
| RA_ENGINE_API void Ra::Engine::Data::ShaderConfigurationFactory::addConfiguration | ( | const Data::ShaderConfiguration & | config | ) |
Add a configuration to the factory
| config |
Definition at line 19 of file ShaderConfigFactory.cpp.
Here is the call graph for this function:| RA_ENGINE_API Core::Utils::optional< Data::ShaderConfiguration > Ra::Engine::Data::ShaderConfigurationFactory::getConfiguration | ( | const std::string & | name | ) |
Get a configuration from the factory
| name | The configuration to get |
Definition at line 44 of file ShaderConfigFactory.cpp.
Here is the call graph for this function:| RA_ENGINE_API bool Ra::Engine::Data::ShaderConfigurationFactory::removeConfiguration | ( | const std::string & | configName | ) |
Remove a configuration from the factory
| config |
Definition at line 35 of file ShaderConfigFactory.cpp.
|
static |
Definition at line 17 of file ShaderConfigFactory.cpp.