#pragma once #include "BsGLPrerequisites.h" #include "BsGpuProgramManager.h" namespace BansheeEngine { /** * @brief Factory class that deals with creating GLSL GPU programs. */ class BS_RSGL_EXPORT GLSLProgramFactory : public GpuProgramFactory { public: /** * @copydoc GpuProgramFactory::getLanguage */ const String& getLanguage() const; /** * @copydoc GpuProgramFactory::getLanguage(const String&, const String&, GpuProgramType, * GpuProgramProfile, const Vector*, bool) */ GpuProgramPtr create(const String& source, const String& entryPoint, GpuProgramType gptype, GpuProgramProfile profile, const Vector* includes, bool requireAdjacency); /** * @copydoc GpuProgramFactory::create(GpuProgramType) */ GpuProgramPtr create(GpuProgramType type); protected: static const String LANGUAGE_NAME; }; }