removed all dependence on NodeOutputs
If Nodes only have the one output, we don't need to do so much differentiation between them. Previous iteration used outputs as like a distinct function within a Node (e.g. length output would return one result, buffer output would produce a different result - each run different code to produce their results). Now in this iteration, it's more accurate to say a Node is just one function (which seems more appropriate for a node system anyway).
This commit is contained in:
@@ -22,9 +22,7 @@ public:
|
||||
|
||||
NodeInput* matrix_input() const;
|
||||
|
||||
NodeOutput* texture_output() const;
|
||||
|
||||
virtual QString Code(NodeOutput* output) const override;
|
||||
virtual QString Code() const override;
|
||||
|
||||
//virtual void Hash(QCryptographicHash *hash, NodeOutput* from, const rational &time) override;
|
||||
|
||||
@@ -33,8 +31,6 @@ protected:
|
||||
private:
|
||||
NodeInput* matrix_input_;
|
||||
|
||||
NodeOutput* texture_output_;
|
||||
|
||||
};
|
||||
|
||||
#endif // VIDEOINPUT_H
|
||||
|
||||
Reference in New Issue
Block a user