Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. gl.MULTISAMPLE is not defined in Canvas3D API?
Qt 6.11 is out! See what's new in the release blog

gl.MULTISAMPLE is not defined in Canvas3D API?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
openglmultisampling
1 Posts 1 Posters 922 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Stefan Monov76S Offline
    Stefan Monov76S Offline
    Stefan Monov76
    wrote on last edited by Stefan Monov76
    #1

    I wanted to call:

    gl.enable(gl.MULTISAMPLE);
    

    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".

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved