Go to the documentation of this file.
28 #ifndef __ShaderProgramWriterHLSL_H__
29 #define __ShaderProgramWriterHLSL_H__
62 virtual void writeSourceCode(std::ostream& os,
Program* program);
75 void initializeStringMaps();
78 void writeProgramDependencies(std::ostream& os,
Program* program);
84 void writeFunctionParameter(std::ostream& os,
ParameterPtr parameter,
const char* forcedSemantic);
87 void writeLocalParameter(std::ostream& os,
ParameterPtr parameter);
90 void writeFunctionDeclaration(std::ostream& os,
Function*
function);
93 void writeAtomInstance(std::ostream& os,
FunctionAtom* atom);
virtual const String & getTargetLanguage(void) const
Base class interface for shader program writers.
virtual ~ShaderProgramWriterHLSLFactory()
virtual ProgramWriter * create(void)
static String TargetLanguage
ParamSemanticToStringMap mParamSemanticMap
A class that represents a shader based program.
virtual const String & getTargetLanguage() const
map< GpuConstantType, const char * >::type GpuConstTypeToStringMap
A class that represents an atomic code section of shader based program function.
HLSL program writer factory implementation.
ShaderProgramWriterHLSLFactory()
Reference-counted shared pointer, used for objects where implicit destruction is required.
Interface definition for factories of ShaderProgramWriter.
map< Parameter::Semantic, const char * >::type ParamSemanticToStringMap
GpuConstTypeToStringMap mGpuConstTypeMap
A class that represents a shader based program function.
HLSL target language writer implementation.
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