1 module d2d.rendering.idrawable;
2
3 import d2d;
4
5 /// Basic interface for everything that is able to draw.
6 interface IDrawable
7 {
8 /// Will get called by `IRenderTarget.draw(IDrawable);`
9 void draw(IRenderTarget target, ShaderProgram shader = null);
10 }