ShaderGenPrinter Class Reference#include <shaderGen.h>
Inheritance diagram for ShaderGenPrinter: ![]() Detailed DescriptionBase class used by shaderGen to be API agnostic.Subclasses implement the various methods in an API specific way.
Constructor & Destructor Documentation
Member Function DocumentationPrints a simple header, including the engine name, language type, and the fact that the shader was procedurally generated.
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL. Prints a comment block specifying the beginning of the main() function (or equivalent).
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL. Prints the final line of the vertex shader, e.g. return OUT; }, }, END.
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL. Prints the output struct for the pixel shader. Probably only used in HLSL/Cg.
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL. Prints the final line of the pixel shader.
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL.
Implemented in ShaderGenPrinterGLSL, and ShaderGenPrinterHLSL.
|