27#ifndef _ShaderProgramWriterGLSL_
28#define _ShaderProgramWriterGLSL_
A class that represents a shader based program function.
GLSL target language writer implementation.
ParamSemanticToStringMap mParamSemanticMap
StringMap mInputToGLStatesMap
map< Parameter::Content, constchar * >::type ParamContentToStringMap
map< String, String >::type StringMap
void writeForwardDeclarations(std::ostream &os, Program *program)
Write forward declarations.
void initializeStringMaps()
Initialize string maps.
void writeOutParameters(std::ostream &os, Function *function, GpuProgramType gpuType)
Write the output params of the function.
virtual const String & getTargetLanguage() const
void writeInputParameters(std::ostream &os, Function *function, GpuProgramType gpuType)
Write the input params of the function.
GLSLProgramWriter()
Class constructor.
map< Parameter::Semantic, constchar * >::type ParamSemanticToStringMap
StringVector mFragInputParams
void writeLocalParameter(std::ostream &os, ParameterPtr parameter)
Write a local parameter.
map< GpuConstantType, constchar * >::type GpuConstTypeToStringMap
static String TargetLanguage
ParamContentToStringMap mContentToPerVertexAttributes
GpuConstTypeToStringMap mGpuConstTypeMap
virtual void writeSourceCode(std::ostream &os, Program *program)
virtual ~GLSLProgramWriter()
Class destructor.
Interface definition for factories of ShaderProgramWriter.
Base class interface for shader program writers.
A class that represents a shader based program.
GLSL program writer factory implementation.
virtual const String & getTargetLanguage(void) const
virtual ProgramWriter * create(void)
virtual ~ShaderProgramWriterGLSLFactory()
ShaderProgramWriterGLSLFactory()
vector< String >::type StringVector
GpuProgramType
Enumerates the types of programs which can run on the GPU.
std::map< K, V, P, A > type