搜遍了整个论坛,和google
opengl 1.x支持的 glEnable(GL_LINE_SMOOTH)
在opengl 2.x都已经找不到宏定义了
大佬解答一下
搜遍了整个论坛,和google
opengl 1.x支持的 glEnable(GL_LINE_SMOOTH)
在opengl 2.x都已经找不到宏定义了
大佬解答一下
MSAA 多重采样抗锯齿,行不行?
GL_MULTISAMPLE 这个宏一样没有宏定义
在AppDelegate里面可以设置multisamplesCount
void AppDelegate::initGLContextAttrs()
{
// set OpenGL context attributes: red,green,blue,alpha,depth,stencil,multisamplesCount
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8, 0};
GLView::setGLContextAttrs(glContextAttrs);
}