Base class interface for shader program writers.  
 More...
#include <OgreShaderProgramWriter.h>
Base class interface for shader program writers. 
The main usage of this class is to generate a shader source code from the given CPU program. In order to support specific shader language one should subclass this interface and implement the pure methods. 
◆ ProgramWriter()
      
        
          | Ogre::RTShader::ProgramWriter::ProgramWriter | ( |  | ) |  | 
      
 
 
◆ ~ProgramWriter()
  
  | 
        
          | virtual Ogre::RTShader::ProgramWriter::~ProgramWriter | ( |  | ) |  |  | virtual | 
 
 
◆ writeSourceCode()
  
  | 
        
          | virtual void Ogre::RTShader::ProgramWriter::writeSourceCode | ( | std::ostream & | os, |  
          |  |  | Program * | program ) |  | pure virtual | 
 
Write the program shader source code. 
- Parameters
- 
  
    | os | The output stream to write to code into. |  | program | The source CPU program for the GPU program code. |  
 
 
 
◆ getTargetLanguage()
  
  | 
        
          | virtual const String & Ogre::RTShader::ProgramWriter::getTargetLanguage | ( |  | ) | const |  | pure virtual | 
 
Return the target language of this writer. 
 
 
The documentation for this class was generated from the following file: