IWindowListener.onDraw

Render the window in software in the buffer previously returned by onResized. At the end of this function, the whole buffer should be a valid, coherent UI.

recomputeDirtyAreas() MUST have been called before this is called. The pixel format cannot change over the lifetime of the window.

onDraw guarantees the pixels to be in the format requested by pf, and it also guarantees that the alpha channel will be filled with 255.

interface IWindowListener
nothrow @nogc
void
onDraw

Meta