
Public Types | |
| typedef std::list< GlslVariableDeclaration > | DeclarationList |
| typedef std::list< SH::ShVariableNodePtr > | NodeList |
Public Member Functions | |
| GlslVariableMap (SH::ShProgramNode *shader, SH::ShVarTransformMap *original_vars, GlslProgramType unit) | |
| ~GlslVariableMap () | |
| std::string | resolve (const SH::ShVariable &v, int index=-1) |
| std::string | resolve (const SH::ShVariable &v, const SH::ShVariable &index) |
| const GlslVariable & | variable (const SH::ShVariableNodePtr &node) |
| bool | contains (const SH::ShVariableNodePtr &node) const |
| bool | contains (const SH::ShVariableNodePtr &node, const GlslVariable *&var) const |
| An alternate form of contains that also returns the associated variable The variable pointer is returned in the second parameter, if found This version is only necessary since GlslCode needs very fast access to this map when updating uniforms and thus we can't afford the double- search involved in calling contains followed by variable. | |
| DeclarationList::const_iterator | attribute_begin () const |
| DeclarationList::const_iterator | attribute_end () const |
| DeclarationList::const_iterator | uniform_begin () const |
| DeclarationList::const_iterator | uniform_end () const |
| DeclarationList::const_iterator | regular_begin () const |
| DeclarationList::const_iterator | regular_end () const |
| NodeList::iterator | node_begin () |
| NodeList::iterator | node_end () |
Definition at line 47 of file GlslVariableMap.hpp.
1.4.6