30 lines
464 B
C++
30 lines
464 B
C++
#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
|