blob: a145f62ce805887fdecbb5104b05d716238ef557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "../base/matrix.hpp"
namespace graphics
{
class RenderTarget
{
public:
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;
};
}
|