OGRE-Next  3.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::GLSLShaderFactory Class Referencefinal

Factory class for GLSL shaders. More...

#include <OgreGLSLShaderFactory.h>

+ Inheritance diagram for Ogre::GLSLShaderFactory:

Public Member Functions

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

Detailed Description

Factory class for GLSL shaders.

Constructor & Destructor Documentation

◆ GLSLShaderFactory()

Ogre::GLSLShaderFactory::GLSLShaderFactory ( const GL3PlusSupport support)

◆ ~GLSLShaderFactory()

Ogre::GLSLShaderFactory::~GLSLShaderFactory ( )

Member Function Documentation

◆ create()

HighLevelGpuProgram* 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.

◆ destroy()

void Ogre::GLSLShaderFactory::destroy ( HighLevelGpuProgram prog)

◆ getLanguage()

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

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

Implements Ogre::HighLevelGpuProgramFactory.

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