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

Factory class for GLSL shaders. More...

#include <OgreGLSLShader.h>

+ Inheritance diagram for Ogre::GLSLShaderFactory:

Public Member Functions

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

Detailed Description

Factory class for GLSL shaders.

Member Function Documentation

◆ getLanguage()

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

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

Implements Ogre::GpuProgramFactory.

◆ create()

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

Create an instance of GLSLProgram.

Implements Ogre::GpuProgramFactory.


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