openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::LDRenderer Class Referenceabstract

Abstract base class for LDRenderers. More...

#include <LDRenderer.hh>

Inheritance diagram for openmsx::LDRenderer:
Inheritance graph
[legend]

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 RawFramegetRawFrame ()=0
 

Protected Member Functions

 LDRenderer ()=default
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~LDRenderer()

virtual openmsx::LDRenderer::~LDRenderer ( )
virtualdefault

◆ LDRenderer()

openmsx::LDRenderer::LDRenderer ( )
protecteddefault

Member Function Documentation

◆ drawBlank()

virtual void openmsx::LDRenderer::drawBlank ( int  r,
int  g,
int  b 
)
pure virtual

◆ frameEnd()

virtual void openmsx::LDRenderer::frameEnd ( )
pure virtual

Signals the end of a frame.

Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.

◆ frameStart()

virtual void openmsx::LDRenderer::frameStart ( EmuTime::param  time)
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.

Parameters
timeThe moment in emulated time the frame starts.

Implemented in openmsx::LDDummyRenderer, and openmsx::LDPixelRenderer.

◆ getRawFrame()

virtual RawFrame * openmsx::LDRenderer::getRawFrame ( )
pure virtual

The documentation for this class was generated from the following file: