2023-05-20 21:27:42 +00:00
|
|
|
module gameengine.renderer.renderer;
|
|
|
|
|
2023-05-21 13:02:53 +00:00
|
|
|
import gameengine.math.types;
|
|
|
|
|
2023-05-20 21:27:42 +00:00
|
|
|
abstract class Renderer {
|
2023-05-21 13:02:53 +00:00
|
|
|
// Draw
|
2023-05-21 20:55:02 +00:00
|
|
|
void clearScreen(Color col);
|
2023-05-21 13:02:53 +00:00
|
|
|
void renderCurrent();
|
|
|
|
|
|
|
|
// Pre and Post draw
|
|
|
|
void preDraw();
|
|
|
|
void postDraw();
|
|
|
|
|
|
|
|
// Util
|
2023-05-21 20:55:02 +00:00
|
|
|
void setWindowTitle(string title);
|
2023-05-20 21:27:42 +00:00
|
|
|
}
|