add accessors for framebuffer and ofscreen buffer