|
ComSquare
|
#include <IRenderer.hpp>


Public Member Functions | |
| virtual void | setWindowName (std::string)=0 |
| Set a new name to the window, if there is already a name it will be overwrite. More... | |
| virtual void | drawScreen ()=0 |
| Render the buffer to the window. More... | |
| virtual void | putPixel (int x, int y, uint8_t rgba)=0 |
| Set a pixel to the coordinates x, y with the color rgba. More... | |
Public Attributes | |
| bool | shouldExit |
| Tells to the program if the window has been closed, and therefore if he should stop. More... | |
|
pure virtual |
Render the buffer to the window.
Implemented in ComSquare::Renderer::SFRenderer.
Set a pixel to the coordinates x, y with the color rgba.
Implemented in ComSquare::Renderer::SFRenderer.
|
pure virtual |
Set a new name to the window, if there is already a name it will be overwrite.
Implemented in ComSquare::Renderer::SFRenderer.
| bool ComSquare::Renderer::IRenderer::shouldExit |
Tells to the program if the window has been closed, and therefore if he should stop.
1.8.17