public:
class Conditionable : public osg::Referenced {
public:
- Conditionable() : _alwaysValid(false) {}
+ Conditionable() : _alwaysValid(true) {}
void parseCondition(SGPropertyNode* prop);
bool getAlwaysValid() const { return _alwaysValid; }
void setAlwaysValid(bool val) { _alwaysValid = val; }
std::string name;
std::string type;
+ int orderNum;
+ std::string effect;
+ std::string debugProperty;
};
struct Attachment : public Conditionable {
};
typedef std::vector<osg::ref_ptr<Attachment> > AttachmentList;
- struct Stage : public Conditionable {
+ struct Stage : public Pass {
Stage(SGPropertyNode* prop);
- std::string name;
- std::string type;
- int orderNum;
- std::string effect;
bool needsDuDv;
float scaleFactor;