YourRenderPass::render(DrawContext& context)
{
if(context.task == DrawContext::OverlayDrawtask && context.eye == DrawContext::EyeCyclop)
{
DrawInterface* di = getClient()->getRenderer();
di->beginDraw2D(context);
// Do your drawing here
di->endDraw();
}
}