OpenGL中的帧缓冲区对象和像素缓冲区对象之间有什么区别? [英] What are the differences between a Frame Buffer Object and a Pixel Buffer Object in OpenGL?

查看:75
本文介绍了OpenGL中的帧缓冲区对象和像素缓冲区对象之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

FBO和PBO有什么区别?我应该使用哪一个进行屏幕外渲染?

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

推荐答案

A FBO (帧缓冲对象)是可以渲染默认帧缓冲区或屏幕以外的图像的目标.

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

PBO (像素缓冲区对象)允许异步传输往返设备的像素数据.如果在等待像素传输时还有其他事情可以做,这将有助于改善渲染时的整体性能.

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.

这篇关于OpenGL中的帧缓冲区对象和像素缓冲区对象之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆