00001
00002
00003
00004
00005 #ifndef MERCATOR_SHADER_FACTORY_IMPL_H
00006 #define MERCATOR_SHADER_FACTORY_IMPL_H
00007
00008 #include <Mercator/ShaderFactory.h>
00009
00010 namespace Mercator {
00011
00012 template <class T>
00013 ShaderFactory<T>::ShaderFactory()
00014 {
00015 }
00016
00017 template <class T>
00018 ShaderFactory<T>::~ShaderFactory()
00019 {
00020 }
00021
00022 template <class T>
00023 Shader * ShaderFactory<T>::newShader(const Shader::Parameters & params) const
00024 {
00025 return new T(params);
00026 }
00027
00028 }
00029
00030 #endif // MERCATOR_SHADER_FACTORY_IMPL_H