`instrumentRenderToBuffer` maybe?