OGRE-Next  4.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 ( )
override

Member Function Documentation

◆ create()

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

◆ destroy()

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

◆ getLanguage()

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

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: