5 #ifndef MERCATOR_SHADER_FACTORY_H 6 #define MERCATOR_SHADER_FACTORY_H 42 typedef std::map<std::string, ShaderKit *> FactoryMap;
45 FactoryMap m_factories;
62 #endif // MERCATOR_SHADER_FACTORY_H
Factory template used to create ordinary shader objects.
Definition: ShaderFactory.h:27
std::map< std::string, float > Parameters
STL map of parameter values for a shader constructor.
Definition: Shader.h:58
Class which manages all the shader factories available.
Definition: ShaderFactory.h:39
Interface for shader factory objects.
Definition: ShaderFactory.h:13
Base class for Shader objects which create surface data for use when rendering terrain.
Definition: Shader.h:24
virtual Shader * newShader(const Shader::Parameters &) const =0
Create a new Shader instance.