Show different icons for GLSL variable categories

Attributes, uniforms, varyings, and constants are shown with a
distinguished icon that is different from regular variables.
This commit is contained in:
Rhys Weatherley
2010-12-01 15:44:50 +10:00
parent ecf4baec66
commit e117f04fab
12 changed files with 43 additions and 7 deletions

View File

@@ -120,7 +120,7 @@ public:
Block *newBlock(Scope *scope = 0);
Function *newFunction(Scope *scope = 0);
Argument *newArgument(Function *function, const QString &name, const Type *type);
Variable *newVariable(Scope *scope, const QString &name, const Type *type);
Variable *newVariable(Scope *scope, const QString &name, const Type *type, int qualifiers = 0);
MemoryPool *pool();