Go to the documentation of this file.
5 #ifndef COMSQUARE_IRENDERER_HPP
6 #define COMSQUARE_IRENDERER_HPP
21 virtual void putPixel(
int x,
int y, uint8_t rgba) = 0;
25 #endif //COMSQUARE_IRENDERER_HPP
bool shouldExit
Tells to the program if the window has been closed, and therefore if he should stop.
Definition: IRenderer.hpp:17
virtual void putPixel(int x, int y, uint8_t rgba)=0
Set a pixel to the coordinates x, y with the color rgba.
virtual void drawScreen()=0
Render the buffer to the window.
Definition: IRenderer.hpp:10
Definition: IRenderer.hpp:12
virtual void setWindowName(std::string)=0
Set a new name to the window, if there is already a name it will be overwrite.