| 12345678910111213141516171819202122232425262728293031323334 |
- #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<HGpuProgInclude>*, bool)
- */
- GpuProgramPtr create(const String& source, const String& entryPoint, GpuProgramType gptype,
- GpuProgramProfile profile, const Vector<HGpuProgInclude>* includes, bool requireAdjacency);
- /**
- * @copydoc GpuProgramFactory::create(GpuProgramType)
- */
- GpuProgramPtr create(GpuProgramType type);
- protected:
- static const String LANGUAGE_NAME;
- };
- }
|