opengl多重采样技术

    # 检查是否支持多重采样技术
    if not glGetString(GL_EXTENSIONS).find(b'GL_ARB_multisample') >= 0:
        print('Multi-sampling not available')
    else:
        print('Multi-sampling available')

    glEnable(GL_MULTISAMPLE)

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/129818942
今日推荐