hibiscus/core/source/renderer/renderer.d

24 lines
419 B
D

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