Parcourir la source

* [docu] added description and examples for shader file, class, procedure, function and main

master
Bergmann89 il y a 11 ans
Parent
révision
2d4567614c
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      header/examples/color.shdr

+ 3
- 0
header/examples/color.shdr Voir le fichier

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


Chargement…
Annuler
Enregistrer