From 2d4567614cee30727cf557a70db6c7bf0312286b Mon Sep 17 00:00:00 2001 From: Bergmann89 Date: Mon, 21 Sep 2015 16:50:13 +0200 Subject: [PATCH] * [docu] added description and examples for shader file, class, procedure, function and main --- header/examples/color.shdr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/header/examples/color.shdr b/header/examples/color.shdr index 294eeb3..31d7805 100644 --- a/header/examples/color.shdr +++ b/header/examples/color.shdr @@ -3,6 +3,9 @@ {$END} {$CLASS ColorFrag $EXTENDS Color} + + /* you can also define code here. It will be added when the code for the class is generated */ + {$FUNC 'vec4' GetColor $INLINE} {$IF UseColorMap} {$VAR 'vec2' '_texCoord' 'gl_TexCoord[0].st'}