Radium Engine  1.5.20
Loading...
Searching...
No Matches
ShaderConfigFactory.hpp
1#pragma once
2
3#include <Core/Utils/StdOptional.hpp>
4#include <string>
5
6#include <Engine/Data/ShaderConfiguration.hpp>
7
8namespace Ra {
9namespace Engine {
10namespace Data {
11
16namespace ShaderConfigurationFactory {
22RA_ENGINE_API void addConfiguration( const Data::ShaderConfiguration& config );
23
29RA_ENGINE_API bool removeConfiguration( const std::string& configName );
30
36RA_ENGINE_API Core::Utils::optional<Data::ShaderConfiguration>
37getConfiguration( const std::string& name );
38} // namespace ShaderConfigurationFactory
39
40} // namespace Data
41} // namespace Engine
42} // namespace Ra
void addConfiguration(const ShaderConfiguration &config)
Core::Utils::optional< ShaderConfiguration > getConfiguration(const std::string &name)
bool removeConfiguration(const std::string &configName)
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3