OGRE  1.12.4
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...
 
virtual void destroy (GpuProgram *prog)
 
const StringgetLanguage (void) const
 Get the name of the language this factory creates shaders for. More...
 

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
virtual

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 
)
virtual

Create an instance of GLSLProgram.

Implements Ogre::HighLevelGpuProgramFactory.

◆ destroy()

virtual void Ogre::HighLevelGpuProgramFactory::destroy ( GpuProgram prog)
inlinevirtualinherited

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