| e8555c89 Andy McCall |
1 |
#ifndef GLSNOW_HH |
| 2 |
#define GLSNOW_HH |
| 3 |
|
| 4 |
#include "GLUtil.hh" |
| 5 |
#include "Layer.hh" |
| 6 |
|
| 7 |
#include <array> |
| 8 |
|
| 9 |
namespace openmsx { |
| 10 |
|
| 11 |
class Display; |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
class GLSnow final : public Layer |
| 16 |
{ |
| 17 |
public: |
| 18 |
explicit GLSnow(Display& display); |
| 19 |
|
| 20 |
|
| 21 |
void paint(OutputSurface& output) override; |
| 22 |
|
| 23 |
private: |
| 24 |
Display& display; |
| 25 |
std::array<gl::BufferObject, 2> vbo; |
| 26 |
gl::Texture noiseTexture; |
| 27 |
}; |
| 28 |
|
| 29 |
} |
| 30 |
|
| 31 |
#endif |