Important: Please read the Qt Code of Conduct -

gl.MULTISAMPLE is not defined in Canvas3D API?

  • I wanted to call:


    by analogy with the commonly used C code glEnable(GL_MULTISAMPLE);.

    But gl.MULTISAMPLE has the value undefined. Is this because GL_MULTISAMPLE is part of a GL extension? Or why?

    I thought perhaps I should use something like gl.MULTISAMPLE_ARB, but I tried printing Object.keys(gl) and none of the listed constants contained "MULTISAMPLE".

Log in to reply