various changes to rendering flow and structure

This commit is contained in:
itsmattkc
2019-10-23 00:42:52 +11:00
parent 5f86b9b9c7
commit 7dec79ceaa
42 changed files with 663 additions and 888 deletions
+7 -4
View File
@@ -23,20 +23,23 @@
#include <QMetaType>
#include "common/rational.h"
#include "common/timerange.h"
#include "node/output.h"
class NodeDependency {
public:
NodeDependency();
NodeDependency(NodeOutput* node, const rational& time);
NodeDependency(NodeOutput* node, const TimeRange& range);
NodeDependency(NodeOutput* node, const rational& in, const rational &out);
NodeOutput* node() const;
const rational& time() const;
const rational& in() const;
const rational& out() const;
const TimeRange& range() const;
private:
NodeOutput* node_;
rational time_;
TimeRange range_;
};
Q_DECLARE_METATYPE(NodeDependency)