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. How do you use QAbstractOpenGLFunctions?
Forum Updated to NodeBB v4.3 + New Features

How do you use QAbstractOpenGLFunctions?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 504 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.
  • J Offline
    J Offline
    jsprenkle
    wrote on last edited by
    #1

    I'm new to OpenGL so this might be a stupid question. I can't see how these classes are supposed to be useful.

    There are classes for each version and profile of OpenGL. These classes have explicit methods for all the OpenGL calls supported by each version.

    When I start my program:

    • I query the video card and ask which version of OpenGL it supports.
    • I get a copy of the appropriate class.

    How do I write code using this class? I have no idea which object I'm going to get at run time.
    Get a base class pointer and only use methods supported by all versions?

    Thanks

    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