#ifndef IMAGE_H #define IMAGE_H #include #include "node/node.h" /** * @brief A node that imports an image * * FIXME: This will likely be replaced by the Media node as the Media node will be set up to pull from various decoders * from the beginning. */ class ImageInput : public Node { Q_OBJECT public: ImageInput(); virtual QString Name() override; virtual QString id() 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