class TextureGL : public Texture {
private:
unsigned int tex;
+ unsigned int target;
virtual void update() override;
public:
TextureGL();
virtual ~TextureGL();
- virtual void bind() override;
+ virtual void bind(int texture_unit = 0) override;
+ virtual void unbind() override;
};
#endif // TEXTURE_GL_H_