gpt4 book ai didi

具有多重采样的 OpenGL 多渲染目标 FBO - 要求

转载 作者:行者123 更新时间:2023-12-05 02:15:03 57 4
gpt4 key购买 nike

创建多采样 FBO 时,是否所有附加的目标纹理都需要是多采样纹理?

最佳答案

Section 9.4.2 Whole Framebuffer Completeness规范说明:

The framebuffer object bound to target is said to be framebuffer complete if all the following conditions are true:
[...]

• The value of RENDERBUFFER_SAMPLES is the same for all attached renderbuffers; the value of TEXTURE_SAMPLES is the same for all attached textures; and, if the attached images are a mix of renderbuffers and textures, the value of RENDERBUFFER_SAMPLES matches the value of TEXTURE_SAMPLES.

所以是的,所有附加的纹理和渲染缓冲区的样本数必须相同。

关于具有多重采样的 OpenGL 多渲染目标 FBO - 要求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52534224/

57 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com