openMSX
video
GLSnow.hh
Go to the documentation of this file.
1
#ifndef GLSNOW_HH
2
#define GLSNOW_HH
3
4
#include "
Layer.hh
"
5
#include "
GLUtil.hh
"
6
7
namespace
openmsx
{
8
9
class
Display;
10
13
class
GLSnow
final :
public
Layer
14
{
15
public
:
16
explicit
GLSnow
(
Display
& display);
17
18
// Layer interface:
19
void
paint
(
OutputSurface
& output)
override
;
20
21
private
:
22
Display
& display;
23
gl::BufferObject
vbo[2];
24
gl::Texture
noiseTexture;
25
};
26
27
}
// namespace openmsx
28
29
#endif
GLUtil.hh
Layer.hh
gl::BufferObject
Definition:
GLUtil.hh:449
gl::Texture
Most basic/generic texture: only contains a texture ID.
Definition:
GLUtil.hh:40
openmsx::Display
Represents the output window/screen of openMSX.
Definition:
Display.hh:33
openmsx::GLSnow
Snow effect for background layer.
Definition:
GLSnow.hh:14
openmsx::GLSnow::paint
void paint(OutputSurface &output) override
Paint this layer.
Definition:
GLSnow.cc:49
openmsx::GLSnow::GLSnow
GLSnow(Display &display)
Definition:
GLSnow.cc:13
openmsx::Layer
Interface for display layers.
Definition:
Layer.hh:12
openmsx::OutputSurface
A frame buffer where pixels can be written to.
Definition:
OutputSurface.hh:20
openmsx
This file implemented 3 utility functions:
Definition:
Autofire.cc:9
Generated on Sat May 14 2022 11:33:31 for openMSX by
1.9.1