28 #ifndef __ShaderProgramWriterHLSL_H__
29 #define __ShaderProgramWriterHLSL_H__
A class that represents an atomic code section of shader based program function.
A class that represents a shader based program function.
HLSL target language writer implementation.
static String TargetLanguage
HLSLProgramWriter()
Class constructor.
void writeUniformParameter(std::ostream &os, UniformParameterPtr parameter)
Write a uniform parameter.
map< GpuConstantType, const char * >::type GpuConstTypeToStringMap
GpuConstTypeToStringMap mGpuConstTypeMap
ParamSemanticToStringMap mParamSemanticMap
virtual ~HLSLProgramWriter()
Class destructor.
void initializeStringMaps()
Initialize string maps.
void writeAtomInstance(std::ostream &os, FunctionAtom *atom)
Write function atom instance.
virtual void writeSourceCode(std::ostream &os, Program *program)
virtual const String & getTargetLanguage() const
void writeFunctionDeclaration(std::ostream &os, Function *function)
Write a function declaration.
map< Parameter::Semantic, const char * >::type ParamSemanticToStringMap
void writeLocalParameter(std::ostream &os, ParameterPtr parameter)
Write a local parameter.
void writeFunctionParameter(std::ostream &os, ParameterPtr parameter, const char *forcedSemantic)
Write a function parameter.
void writeProgramDependencies(std::ostream &os, Program *program)
Write the program dependencies.
Interface definition for factories of ShaderProgramWriter.
Base class interface for shader program writers.
A class that represents a shader based program.
HLSL program writer factory implementation.
virtual const String & getTargetLanguage(void) const
virtual ~ShaderProgramWriterHLSLFactory()
ShaderProgramWriterHLSLFactory()
virtual ProgramWriter * create(void)
Reference-counted shared pointer, used for objects where implicit destruction is required.