gpt4 book ai didi

opengl - glXChooseFBConfig() 抗锯齿设置?

转载 作者:行者123 更新时间:2023-12-01 15:37:48 27 4
gpt4 key购买 nike

根据这个post ,据说

To request a visual with multisampling with XLib, use these two attributes in the list to glXChooseFBConfig():

GLX_SAMPLE_BUFFERS - its value should be True. This is an on/off toggle.
GLX_SAMPLES - the number of samples.



其中,根据 opengl.org 中 Multisampling 部分的 wiki,glXChooseFBConfig() 确实接受这些属性。但是,GLX_SAMPLE_BUFFERS/GLX_SAMPLES 似乎没有在 SDK 中指定 here .你可能知道为什么吗?

最佳答案

我建议您下载 GLX-1.4 规范 PDF,这是更好的引用手册:http://www.opengl.org/registry/doc/glx1.4.pdf

关于opengl - glXChooseFBConfig() 抗锯齿设置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18604673/

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