Add more convenient way for compositor render to framebuffer