Ignore:
Timestamp:
04/25/06 09:27:16 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/include/OgrePass.h

    r768 r812  
    3434 
    3535namespace Ogre { 
     36 
     37#ifdef GAMETOOLS_ILLUMINATION_MODULE 
     38         
     39        class IllumTechniqueParams 
     40        { 
     41                String techniqueType; 
     42                NameValuePairList params; 
     43 
     44                public: 
     45 
     46                void setTypeName(String& type){ techniqueType = type;} 
     47                void addParam(String& param, String& value) 
     48                { 
     49                        params[param] = value; 
     50                } 
     51 
     52                String& getTypeName(){return techniqueType;} 
     53                NameValuePairList& getParams(){return params;} 
     54        }; 
     55 
     56#endif 
    3657    /** Class defining a single pass of a Technique (of a Material), ie 
    3758        a single rendering call.  
     
    11531174#ifdef GAMETOOLS_ILLUMINATION_MODULE 
    11541175                public: 
     1176 
    11551177                        void setActive(bool active){mActive = active;} 
    11561178                        bool isActive() const {return mActive;}  
     1179 
     1180                        void addIllumTechniqueParams(IllumTechniqueParams* params) 
     1181                        { 
     1182                                illumTechniques.push_back(params); 
     1183                        } 
     1184                        std::vector<IllumTechniqueParams*>& getIllumTechniques() 
     1185                        { 
     1186                                return illumTechniques; 
     1187                        } 
     1188 
    11571189                protected: 
     1190 
    11581191                        bool mActive; 
     1192 
     1193                        std::vector<IllumTechniqueParams*> illumTechniques; 
    11591194#endif 
    11601195    }; 
Note: See TracChangeset for help on using the changeset viewer.