ShaderGenPrinterHLSL
Engine/source/shaderGen/HLSL/shaderGenHLSL.h
Public Functions
printMainComment(Stream & stream)
Prints a comment block specifying the beginning of the main() function (or equivalent)
printPixelShaderCloser(Stream & stream)
Prints the final line of the pixel shader.
printPixelShaderOutputStruct(Stream & stream, const MaterialFeatureData & featureData)
Prints the output struct for the pixel shader. Probably only used in HLSL/Cg.
printShaderHeader(Stream & stream)
Prints a simple header, including the engine name, language type, and the fact that the shader was procedurally generated.
printVertexShaderCloser(Stream & stream)
Prints the final line of the vertex shader, e.g. return OUT; }, }, END.
Detailed Description
Public Functions
printLine(Stream & stream, const String & line)
Reimplemented from: ShaderGenPrinter
printMainComment(Stream & stream)
Reimplemented from: ShaderGenPrinter
printPixelShaderCloser(Stream & stream)
Reimplemented from: ShaderGenPrinter
printPixelShaderOutputStruct(Stream & stream, const MaterialFeatureData & featureData)
Reimplemented from: ShaderGenPrinter
printShaderHeader(Stream & stream)
Reimplemented from: ShaderGenPrinter
printVertexShaderCloser(Stream & stream)
Reimplemented from: ShaderGenPrinter