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'}