本文介绍了帧缓冲器/颜色缓冲器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果两人都一样,有人能指出我吗?我的意思是我一直在阅读关于它的信息,这里的红皮书说:颜色缓冲区本身可以由多个子缓冲区组成,系统上的帧缓冲区包含所有这些缓冲区

然后framebuffer就像一个由所有实际缓冲区组成的虚拟缓冲区?(如深度/模板等)

framebuffer(通常)包含深度,模板,颜色和累积缓冲区。颜色缓冲区是最重要的部分,但它们只是一个部分。你可以创建更多的颜色缓冲区,并且你还可以在OpenGL中创建更多的帧缓冲区。



当你说虚拟帧缓冲区有时意味着一个帧缓冲区不被绘制到屏幕(例如,它被写入磁盘,或用作纹理)。我相信这个术语是特定于X11的,而不是OpenGL。


Can someone point out to me if both of them are the same? I mean I have been reading info about it and this redbook here says

"The color buffer itself can consist of several subbuffers. The framebuffer on a system comprises all of these buffers" here

Is framebuffer then like a virtual buffer consisting of all the actual buffers?(like depth/stencil etc)

解决方案

The framebuffer contains (often) the depth, stencil, color, and accumulation buffers. The color buffers are the most important part, but they are only one part. You can create more color buffers, and you can also create more framebuffers in OpenGL.

When you say "virtual framebuffer" that sometimes means a framebuffer which is not drawn to the screen (e.g., it is written to disk, or used as a texture). I believe this terminology is specific to X11, not OpenGL.

这篇关于帧缓冲器/颜色缓冲器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 14:17