GC/Wii VideoDriver: raw GX, double-buffered XFB. More...
#include <OgcVideoDriver.h>
Public Member Functions | |
| void | init (int width, int height) override |
| void | shutdown () override |
| Releases the video backend. Call after every other user of the renderers has finished. | |
| void | render () override |
| Flushes the current frame to the screen and swaps buffers. | |
| void | clearScreen (const PixelColor &color) override |
| Clears the current frame buffer. | |
| int | getScreenWidth () const override |
| int | getScreenHeight () const override |
| int | getRefreshRate () const override |
| float | getDeltaTime () const override |
| uint32_t | getFrameTimer () override |
| ImageRenderer * | getImageRenderer () override |
| GlyphRenderer * | getGlyphRenderer () override |
Public Member Functions inherited from VideoDriver | |
| virtual float | getUIScale () const |
| Ratio of physical render-target pixels to design-canvas pixels (the width/height passed to init()). | |
GC/Wii VideoDriver: raw GX, double-buffered XFB.
Definition at line 13 of file OgcVideoDriver.h.
| OgcVideoDriver::OgcVideoDriver | ( | ) |
Definition at line 21 of file OgcVideoDriver.cpp.
|
override |
Definition at line 23 of file OgcVideoDriver.cpp.
|
overridevirtual |
Clears the current frame buffer.
Implements VideoDriver.
Definition at line 121 of file OgcVideoDriver.cpp.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 27 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 28 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 31 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 30 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 26 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 25 of file OgcVideoDriver.h.
|
inlineoverridevirtual |
Implements VideoDriver.
Definition at line 24 of file OgcVideoDriver.h.
|
overridevirtual |
| width | Design canvas width in pixels |
| height | Design canvas height in pixels |
Implements VideoDriver.
Definition at line 29 of file OgcVideoDriver.cpp.
|
overridevirtual |
Flushes the current frame to the screen and swaps buffers.
Implements VideoDriver.
Definition at line 107 of file OgcVideoDriver.cpp.
|
overridevirtual |
Releases the video backend. Call after every other user of the renderers has finished.
Implements VideoDriver.
Definition at line 97 of file OgcVideoDriver.cpp.