27 #ifndef _ShaderProgramWriter_
28 #define _ShaderProgramWriter_
37 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
69 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
72 virtual void writeSourceCode(std::ostream& os,
Program* program) = 0;
76 virtual const String& getTargetLanguage()
const = 0;
81 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
84 void writeProgramTitle(std::ostream& os,
Program* program);
88 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
91 void writeUniformParametersTitle(std::ostream& os,
Program* program);
95 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
98 void writeFunctionTitle(std::ostream& os,
Function*
function);
Serializes data values into a string using sprintf functions.
A class that represents a shader based program function.
Base class interface for shader program writers.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
A class that represents a shader based program.
virtual ~ProgramWriter()
Class destructor.