Radium Engine
1.5.20
|
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 16 of file ShaderConfigFactory.cpp.
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 41 of file ShaderConfigFactory.cpp.
RA_ENGINE_API bool Ra::Engine::Data::ShaderConfigurationFactory::removeConfiguration | ( | const std::string & | configName | ) |
Remove a configuration from the factory
config |
Definition at line 32 of file ShaderConfigFactory.cpp.
|
static |
Definition at line 14 of file ShaderConfigFactory.cpp.