blob: 04b13ee1933a01e47f84897ba9c419d992159d54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef FB_FB_H
#define FB_FB_H
#include "math/vector.h"
#include "o3d/vertex_data.h"
namespace engine::fb {
class FrameBuffer {
public:
virtual void resize(unsigned int w, unsigned int h) = 0;
virtual unsigned int width() const = 0;
virtual unsigned int height() const = 0;
virtual void clear() = 0;
virtual void draw_point(int x, int y, engine::math::Vector3 loc, const engine::o3d::VertexData& vd) = 0;
};
}
#endif // FB_FB_H
|