Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: GL, GLU, GLUT, GLEW Function List in one file

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2009
    Location
    Australia
    Posts
    1

    GL, GLU, GLUT, GLEW Function List in one file

    Hello everyone,

    I've been lurking around the boards, and I'd like to share with you something I spent some effort extracting using Python and regular expressions.

    In MS Visual Studio, I always wanted syntax highlighting for OGL-related functions and constants. People suggested putting them into a file called UserType.dat, and save it where devenv.exe (VS executable) lives. Well, I've done a lot of work putting them into this one file!

    Right now, it totals to about 7200 lines worth of functions and constants, and you can have them highlighted in visual studio (and I'd imagine other IDEs as well).

    Get it here >>> http://xavierho.com/temp/sorted_keywords.txt

    I'm wondering how useful this file can be to people, and I need reviews to see if anything is missing - I won't know until this file is widely used. Please give me some feedback and any comments you have about this file.

    Basic usage:
    1. Save it to where devenv.exe lives (usually C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\).
    2. Rename it to UserType.dat.
    3. Reopen VS, and open up options. Go to Fonts and Colors, and look for User Keywords. Change the colour to anything you like.

    That's it. Please give me feedback for improvement!

    Cheers,
    Xav

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    1
    Thanks for the list, .. good job.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,726
    In MS Visual Studio, I always wanted syntax highlighting for OGL-related functions and constants.
    Visual Studio does that automatically these days. Though GLEW's #defines play havok with its deduction of OpenGL functions, it still generally works.

  4. #4
    Intern Contributor nigels's Avatar
    Join Date
    Apr 2000
    Location
    Texas, USA
    Posts
    85
    Quote Originally Posted by SpaXe View Post
    In MS Visual Studio, I always wanted syntax highlighting for OGL-related functions and constants.
    A similar list could be extracted from the Regal API databases, and constantly refreshed in github as new extensions, etc appear.

    https://github.com/p3/regal

    - Nigel
    ---
    Regal - as OpenGL ought to be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •