made node edge changes undoable

This commit is contained in:
itsmattkc
2019-07-17 00:14:49 -04:00
parent a78cc3950a
commit 39256fd6f9
15 changed files with 318 additions and 12 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef IMAGE_H
#define IMAGE_H
#include <QOpenGLTexture>
#include "node/node.h"
class ImageInput : public Node
{
Q_OBJECT
public:
ImageInput();
virtual QString Name() override;
virtual QString Category() override;
virtual QString Description() override;
NodeOutput* texture_output();
public slots:
virtual void Process(const rational &time) override;
private:
NodeOutput* texture_output_;
QOpenGLTexture* texture_;
};
#endif // IMAGE_H