Revision aeb73a09 include/ReferencedStateSet.h
| b/include/ReferencedStateSet.h | ||
|---|---|---|
| 80 | 80 |
/** |
| 81 | 81 |
* Abstract method getPath needs to be implemented |
| 82 | 82 |
*/ |
| 83 |
virtual const char *getPath() const = 0; |
|
| 83 |
//virtual const char *getPath() const = 0;
|
|
| 84 | 84 |
|
| 85 | 85 |
/** |
| 86 | 86 |
* Remove this stateset from all parents... essentially destroying the state, |
| ... | ... | |
| 157 | 157 |
*/ |
| 158 | 158 |
virtual int getRenderBin() const { return renderBin_; }
|
| 159 | 159 |
|
| 160 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 | 160 |
// TODO: these should at least be protected: |
| 164 |
SceneManager *sceneManager; |
|
| 165 | 161 |
t_symbol *id; |
| 166 | 162 |
std::string classType; |
| 167 | 163 |
|
| 168 | 164 |
protected: |
| 169 |
|
|
| 165 |
|
|
| 170 | 166 |
osg::TexEnv::Mode textureBlend_; |
| 171 | 167 |
bool textureRepeatS_; |
| 172 | 168 |
bool textureRepeatT_; |
| 173 | 169 |
bool lightingEnabled_; |
| 174 | 170 |
int renderBin_; |
| 175 | 171 |
|
| 172 |
SceneManager *sceneManager; |
|
| 173 |
|
|
| 176 | 174 |
}; |
| 177 | 175 |
|
| 178 | 176 |
typedef std::vector< osg::ref_ptr<ReferencedStateSet> > stateListType; |
Also available in: Unified diff