浏览代码

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


正在加载...
取消
保存