CustomGLSLProgramWriterFactory Class Reference

A factory to create our own CustomGLSLProgramWriter. More...

#include <CustomPSSMShadowCameraSetup.hh>

Inherits ProgramWriterFactory.

Public Member Functions

 CustomGLSLProgramWriterFactory ()
 Constructor. More...
 
 ~CustomGLSLProgramWriterFactory ()=default
 Destructor. More...
 
virtual Ogre::RTShader::ProgramWriter * create () override
 Creates the GLSLProgramWriter. More...
 
const Ogre::String & getTargetLanguage () const override
 Get shader language supported by this factory. More...
 

Detailed Description

A factory to create our own CustomGLSLProgramWriter.

Constructor & Destructor Documentation

◆ CustomGLSLProgramWriterFactory()

◆ ~CustomGLSLProgramWriterFactory()

Destructor.

Member Function Documentation

◆ create()

virtual Ogre::RTShader::ProgramWriter* create ( )
overridevirtual

Creates the GLSLProgramWriter.

Returns
Ogre's program writer

◆ getTargetLanguage()

const Ogre::String& getTargetLanguage ( ) const
override

Get shader language supported by this factory.

Returns
Language supported - "glsl"

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