diff options
Diffstat (limited to 'graphics/render_target.hpp')
-rw-r--r-- | graphics/render_target.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/render_target.hpp b/graphics/render_target.hpp index 7ef18ce2a0..a145f62ce8 100644 --- a/graphics/render_target.hpp +++ b/graphics/render_target.hpp @@ -1,15 +1,18 @@ #pragma once +#include "../base/matrix.hpp" + namespace graphics { class RenderTarget { public: - virtual ~RenderTarget() {} - /// attach render target to framebuffer and setup coordinate system + virtual ~RenderTarget(); virtual unsigned int id() const = 0; + /// attach render target to framebuffer and setup coordinate system virtual void attachToFrameBuffer() = 0; virtual void detachFromFrameBuffer() = 0; + virtual void coordMatrix(math::Matrix<float, 4, 4> & m); virtual unsigned width() const = 0; virtual unsigned height() const = 0; }; |