openMSX
LDRenderer.hh
Go to the documentation of this file.
1#ifndef LDRENDERER_HH
2#define LDRENDERER_HH
3
4#include "EmuTime.hh"
5
6namespace openmsx {
7
8class RawFrame;
9
19{
20public:
21 virtual ~LDRenderer() = default;
22
28 virtual void frameStart(EmuTime::param time) = 0;
29
32 virtual void frameEnd() = 0;
33
34 virtual void drawBlank(int r, int g, int b) = 0;
35
36 [[nodiscard]] virtual RawFrame* getRawFrame() = 0;
37
38protected:
39 LDRenderer() = default;
40};
41
42} // namespace openmsx
43
44#endif
int g
Abstract base class for LDRenderers.
Definition LDRenderer.hh:19
virtual void frameStart(EmuTime::param time)=0
Signals the start of a new frame.
virtual ~LDRenderer()=default
virtual RawFrame * getRawFrame()=0
virtual void drawBlank(int r, int g, int b)=0
virtual void frameEnd()=0
Signals the end of a frame.
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition RawFrame.hh:16
This file implemented 3 utility functions:
Definition Autofire.cc:11