sweeping node graph changes for new rendering pipeline

The new rendering pipeline strives to simplify the nodes themselves as much
as possible and move much of the logic to an external rendering engine. This
change removes all of the responsibilities that no longer belong to the
nodes themselves and will soon be folded into the renderer.
This commit is contained in:
itsmattkc
2019-11-02 01:39:37 +11:00
parent c14125e640
commit 16ac2fc0e1
35 changed files with 397 additions and 347 deletions
+10 -3
View File
@@ -28,7 +28,14 @@ NodeKeyframe::NodeKeyframe() :
}
const rational &NodeKeyframe::time()
NodeKeyframe::NodeKeyframe(const rational &time, const QVariant &value, const NodeKeyframe::Type &type) :
time_(time),
value_(value),
type_(type)
{
}
const rational &NodeKeyframe::time() const
{
return time_;
}
@@ -38,7 +45,7 @@ void NodeKeyframe::set_time(const rational &time)
time_ = time;
}
const QVariant &NodeKeyframe::value()
const QVariant &NodeKeyframe::value() const
{
return value_;
}
@@ -48,7 +55,7 @@ void NodeKeyframe::set_value(const QVariant &value)
value_ = value;
}
const NodeKeyframe::Type &NodeKeyframe::type()
const NodeKeyframe::Type &NodeKeyframe::type() const
{
return type_;
}