hibiscus/core/source/renderer/renderer.d

24 lines
404 B
D

module hibis.renderer.renderer;
import hibis.math.types;
import hibis.resources.font;
abstract class Renderer {
// Draw
void clearScreen(Color col);
void renderCurrent();
void drawText(Font font, string text, int size, IntVec2 pos);
// Pre and Post draw
void preDraw();
void postDraw();
// Update
void update();
// Util
void setWindowTitle(string title);
public bool keepOpen = true;
}