openMSX
|
Abstract base class for LDRenderers. More...
#include <LDRenderer.hh>
Public Member Functions | |
virtual | ~LDRenderer ()=default |
virtual void | frameStart (EmuTime::param time)=0 |
Signals the start of a new frame. | |
virtual void | frameEnd ()=0 |
Signals the end of a frame. | |
virtual void | drawBlank (int r, int g, int b)=0 |
virtual RawFrame * | getRawFrame ()=0 |
Protected Member Functions | |
LDRenderer ()=default | |
Abstract base class for LDRenderers.
A LDRenderer is a class that converts VDP state to visual information (for example, pixels on a screen).
The update methods are called exactly before the change occurs in the VDP, so that the renderer can update itself to the specified time using the old settings.
Definition at line 18 of file LDRenderer.hh.
|
virtualdefault |
|
protecteddefault |
|
pure virtual |
Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.
|
pure virtual |
Signals the end of a frame.
Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.
|
pure virtual |
Signals the start of a new frame.
The LDRenderer can use this to get fixed-per-frame settings from the VDP, such as PAL/NTSC timing.
time | The moment in emulated time the frame starts. |
Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.
|
pure virtual |
Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.