shgl::GlslVariableMap Class Reference

Collaboration diagram for shgl::GlslVariableMap:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::list< GlslVariableDeclarationDeclarationList
typedef std::list< SH::ShVariableNodePtrNodeList

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 GlslVariablevariable (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 ()

Detailed Description

Definition at line 47 of file GlslVariableMap.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 14:57:54 2006 for Sh by  doxygen 1.4.6