What are the differences between a Frame Buffer Object and a Pixel Buffer Object in OpenGL?

前端 未结 4 862

What is the difference between FBO and PBO? Which one should I use for off-screen rendering?

4条回答
  •  时光说笑
    2021-01-30 09:29

    A FBO (Framebuffer object) is a target where you can render images other than the default frame buffer or screen.

    A PBO (Pixel Buffer Object) allows asynchronous transfers of pixel data to and from the device. This can be helpful to improve overall performance when rendering if you have other things that can be done while waiting for the pixel transfer.

提交回复
热议问题