Torque3D Documentation / _generateds / ShaderGenPrinterHLSL

ShaderGenPrinterHLSL

Engine/source/shaderGen/HLSL/shaderGenHLSL.h

More...

Public Functions

printLine(Stream & stream, const String & line)

Prints a comment block specifying the beginning of the main() function (or equivalent)

Prints the final line of the pixel shader.

Prints the output struct for the pixel shader. Probably only used in HLSL/Cg.

Prints a simple header, including the engine name, language type, and the fact that the shader was procedurally generated.

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