GLWindow.setDrawCallback

void setDrawCallback(gstgl.types.GLWindowCB callback) nothrow

Sets the draw callback called every time gstgl.glwindow.GLWindow.draw is called

Parameters

callbackfunction to invoke