Torque3D Documentation / _generateds / ShaderGenPrinterGLSL

ShaderGenPrinterGLSL

Engine/source/shaderGen/GLSL/shaderGenGLSL.h

More...

Private Attributes

bool

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

Private Attributes

bool extraRTs [3]

Public Functions

ShaderGenPrinterGLSL()

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