OGRE  1.12.12
Object-Oriented Graphics Rendering Engine
Ogre::GLSLShaderFactory Class Reference

Factory class for GLSL shaders. More...

#include <OgreGLSLShaderFactory.h>

+ Inheritance diagram for Ogre::GLSLShaderFactory:

Public Member Functions

 GLSLShaderFactory (GL3PlusRenderSystem *renderSystem)
 ~GLSLShaderFactory (void)
GpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
 Create an instance of GLSLProgram. More...
const StringgetLanguage (void) const
 Get the name of the language this factory creates shaders for. More...
- Public Member Functions inherited from Ogre::HighLevelGpuProgramFactory
 HighLevelGpuProgramFactory ()
virtual ~HighLevelGpuProgramFactory ()
virtual void destroy (GpuProgram *prog)

Detailed Description

Factory class for GLSL shaders.

Constructor & Destructor Documentation

◆ GLSLShaderFactory()

Ogre::GLSLShaderFactory::GLSLShaderFactory ( GL3PlusRenderSystem renderSystem)

◆ ~GLSLShaderFactory()

Ogre::GLSLShaderFactory::~GLSLShaderFactory ( void  )

Member Function Documentation

◆ getLanguage()

const String& Ogre::GLSLShaderFactory::getLanguage ( void  ) const

Get the name of the language this factory creates shaders for.

Implements Ogre::HighLevelGpuProgramFactory.

◆ create()

GpuProgram* Ogre::GLSLShaderFactory::create ( ResourceManager creator,
const String name,
ResourceHandle  handle,
const String group,
bool  isManual,
ManualResourceLoader loader 

Create an instance of GLSLProgram.

Implements Ogre::HighLevelGpuProgramFactory.

The documentation for this class was generated from the following file: