Go to the documentation of this file.
27 #ifndef _ShaderProgramWriter_
28 #define _ShaderProgramWriter_
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
virtual void writeSourceCode(std::ostream &os, Program *program)=0
Write the program shader source code.
Base class interface for shader program writers.
void writeProgramTitle(std::ostream &os, Program *program)
Write the program title.
void writeFunctionTitle(std::ostream &os, Function *function)
Write a function title.
A class that represents a shader based program.
virtual ~ProgramWriter()
Class destructor.
virtual const String & getTargetLanguage() const =0
Return the target language of this writer.
void writeUniformParametersTitle(std::ostream &os, Program *program)
Write the uniform parameters title.
A class that represents a shader based program function.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.