|
- // some other code here
- int test = 0;
-
- {$CLASS SimpleClass}
- {$UNIFORM 'sampler2D' 'uTexture0'}
- {$UNIFORM 'sampler2D' 'uTexture1'}
- {$UNIFORM 'vec4' 'uColor'}
-
- {$MAIN}
- gl_FragColor =
- texture2D(uTexture0, texCoord) *
- texture2D(uTexture1, texCoord) *
- uColor;
- {$END}
- {$END}
-
- // and some more code here
- int fuu = 1;
|