Go to the documentation of this file.
27 #ifndef _ShaderProgramWriterGLSL_
28 #define _ShaderProgramWriterGLSL_
61 virtual void writeSourceCode(std::ostream& os,
Program* program);
75 void initializeStringMaps();
78 void writeLocalParameter(std::ostream& os,
ParameterPtr parameter);
81 void writeForwardDeclarations(std::ostream& os,
Program* program);
StringVector mFragInputParams
ParamContentToStringMap mContentToPerVertexAttributes
virtual ProgramWriter * create(void)
GLSL program writer factory implementation.
vector< String >::type StringVector
map< Parameter::Content, const char * >::type ParamContentToStringMap
ParamSemanticToStringMap mParamSemanticMap
virtual const String & getTargetLanguage() const
virtual const String & getTargetLanguage(void) const
Base class interface for shader program writers.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
static String TargetLanguage
StringMap mInputToGLStatesMap
A class that represents a shader based program.
ShaderProgramWriterGLSLFactory()
GpuConstTypeToStringMap mGpuConstTypeMap
map< GpuConstantType, const char * >::type GpuConstTypeToStringMap
GLSL target language writer implementation.
map< Parameter::Semantic, const char * >::type ParamSemanticToStringMap
Interface definition for factories of ShaderProgramWriter.
map< String, String >::type StringMap
A class that represents a shader based program function.
virtual ~ShaderProgramWriterGLSLFactory()
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15