Go to the documentation of this file.
27 virtual void putPixel(
unsigned x,
unsigned y, uint32_t rgba) = 0;
36 virtual void playAudio(std::span<int16_t> samples) = 0;
virtual void drawScreen()=0
Render the buffer to the window.
virtual void createWindow(SNES &snes, int maxFPS)=0
Use this function to create the window.
Container of all the components of the SNES.
Definition: SNES.hpp:32
Definition: IRenderer.hpp:15
virtual void putPixel(unsigned x, unsigned y, uint32_t rgba)=0
Set a pixel to the coordinates x, y with the color rgba.
virtual void playAudio(std::span< int16_t > samples)=0
Playing all samples from buffer.
virtual void setWindowName(std::string &)=0
Set a new name to the window, if there is already a name it will be overwrite.