Preliminary version of FrameBuffer functions. Only works on RenderConvexPoly for now.