ShaderGenPrinterGLSL Class Reference

#include <shaderGenGLSL.h>

Inheritance diagram for ShaderGenPrinterGLSL:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void printShaderHeader (Stream &stream)
 Prints a simple header, including the engine name, language type, and the fact that the shader was procedurally generated.
virtual void printMainComment (Stream &stream)
 Prints a comment block specifying the beginning of the main() function (or equivalent).
virtual void printVertexShaderCloser (Stream &stream)
 Prints the final line of the vertex shader, e.g. return OUT; }, }, END.
virtual void printPixelShaderOutputStruct (Stream &stream)
 Prints the output struct for the pixel shader. Probably only used in HLSL/Cg.
virtual void printPixelShaderCloser (Stream &stream)
 Prints the final line of the pixel shader.
virtual void printComment (Stream &stream, const String &comment)

Member Function Documentation

virtual void ShaderGenPrinterGLSL::printShaderHeader ( Stream stream  )  [virtual]

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

Implements ShaderGenPrinter.

virtual void ShaderGenPrinterGLSL::printMainComment ( Stream stream  )  [virtual]

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

Implements ShaderGenPrinter.

virtual void ShaderGenPrinterGLSL::printVertexShaderCloser ( Stream stream  )  [virtual]

Prints the final line of the vertex shader, e.g. return OUT; }, }, END.

Implements ShaderGenPrinter.

virtual void ShaderGenPrinterGLSL::printPixelShaderOutputStruct ( Stream stream  )  [virtual]

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

Implements ShaderGenPrinter.

virtual void ShaderGenPrinterGLSL::printPixelShaderCloser ( Stream stream  )  [virtual]

Prints the final line of the pixel shader.

Implements ShaderGenPrinter.

virtual void ShaderGenPrinterGLSL::printComment ( Stream stream,
const String comment 
) [virtual]

Implements ShaderGenPrinter.