Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using Qt 5.12, glDrawBuffer is not found in QOpenGLExtraFunctions, shouldn't this be supported?

Using Qt 5.12, glDrawBuffer is not found in QOpenGLExtraFunctions, shouldn't this be supported?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 427 Views
  • 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.
  • F Offline
    F Offline
    feistykittykat
    wrote on last edited by
    #1

    As per the documentation, "The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API." Since glDrawBuffer has been a feature of OpenGL since 2.0, I'd think it would be present.

    Does anybody have a workaround? I'm trying to construct a framebuffer without any color attachments, so I need to be able to set the draw buffer to GL_NONE.

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      glDrawBuffer is a core, not a extra functionality afaics: https://doc.qt.io/qt-5.12/qopenglfunctions-3-3-core.html#glDrawBuffer

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      F 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        glDrawBuffer is a core, not a extra functionality afaics: https://doc.qt.io/qt-5.12/qopenglfunctions-3-3-core.html#glDrawBuffer

        F Offline
        F Offline
        feistykittykat
        wrote on last edited by
        #3

        @Christian-Ehrlicher So what does that mean? Just call it directly in Qt without using OpenGLFunctions or a derived class?

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @feistykittykat said in Using Qt 5.12, glDrawBuffer is not found in QOpenGLExtraFunctions, shouldn't this be supported?:

          Just call it directly in Qt without using OpenGLFunctions or a derived class?

          No, I gave you the link to the Qt function...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          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