Go to the documentation of this file.
28 #ifndef __ShaderProgramWriterHLSL_H__
29 #define __ShaderProgramWriterHLSL_H__
void writeLocalParameter(std::ostream &os, ParameterPtr parameter)
Write a local parameter.
virtual const String & getTargetLanguage(void) const
Base class interface for shader program writers.
virtual void writeSourceCode(std::ostream &os, Program *program)
virtual ~ShaderProgramWriterHLSLFactory()
void writeFunctionDeclaration(std::ostream &os, Function *function)
Write a function declaration.
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.
void writeAtomInstance(std::ostream &os, FunctionAtom *atom)
Write function atom instance.
HLSL program writer factory implementation.
ShaderProgramWriterHLSLFactory()
HLSLProgramWriter()
Class constructor.
Reference-counted shared pointer, used for objects where implicit destruction is required.
void writeFunctionParameter(std::ostream &os, ParameterPtr parameter, const char *forcedSemantic)
Write a function parameter.
Interface definition for factories of ShaderProgramWriter.
map< Parameter::Semantic, const char * >::type ParamSemanticToStringMap
void writeProgramDependencies(std::ostream &os, Program *program)
Write the program dependencies.
virtual ~HLSLProgramWriter()
Class destructor.
GpuConstTypeToStringMap mGpuConstTypeMap
A class that represents a shader based program function.
HLSL target language writer implementation.
void initializeStringMaps()
Initialize string maps.
void writeUniformParameter(std::ostream &os, UniformParameterPtr parameter)
Write a uniform parameter.
Copyright © 2012 Torus Knot Software Ltd

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