openMSX
OffScreenSurface.hh
Go to the documentation of this file.
1#ifndef OFFSCREENSURFACE_HH
2#define OFFSCREENSURFACE_HH
3
4#include "OutputSurface.hh"
5#include "GLUtil.hh"
6
7namespace openmsx {
8
12class OffScreenSurface final : public OutputSurface
13{
14public:
15 explicit OffScreenSurface(const OutputSurface& output);
16
17private:
18 // OutputSurface
19 void saveScreenshot(const std::string& filename) override;
20
21private:
22 gl::Texture fboTex;
24};
25
26} // namespace openmsx
27
28#endif
Most basic/generic texture: only contains a texture ID.
Definition GLUtil.hh:40
This class installs a FrameBufferObject (FBO).
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
Definition Autofire.cc:11