ソースを参照

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

master
Bergmann89 11年前
親
コミット
2d4567614c
1個のファイルの変更、3行の追加、0行の削除
  1. +3
    -0
      header/examples/color.shdr

+ 3
- 0
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'}


読み込み中…
キャンセル
保存