Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4614854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:45:28+00:00 2026-05-22T01:45:28+00:00

Can anybody point me in a direction to a great tutorial or how-to for

  • 0

Can anybody point me in a direction to a great tutorial or how-to for using OpenGL Extensions using OS X. I’m learning OpenGL and somewhat of a newbie. I’m using a textbook to learn graphics but it doesn’t give platform specific instructions on how to get the code to work.

I’m running OS X(10.6.7) on a MacBookPro with a NVidia GeForce 9400M. I have XCode installed, so I have the necessary headers and libraries to compile and run graphics code. I’m attempting to use the OpenGL extensions and now I’m stuck. Here’s my problem:

An example in my textbook utilizes a function called glGenVertexArrays. I see in glext.h that there is a function called glGenVertexArrays, a APIENTRYP next to it, and a typedef slightly below it:

wdyn-n233-240-235:GL marklagatuz$ cat glext.h | grep glGenVertexArrays
GLAPI void APIENTRY glGenVertexArrays (GLsizei, GLuint *);
GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, GLuint *);

typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 

My question is how to utilize this function in my .cpp source code? I’ve perused the net, and haven’t found great documentation. Maybe cause I’m new to this. Could somebody point me into some great help and tutorials?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:45:29+00:00Added an answer on May 22, 2026 at 1:45 am

    If you want to make your life simple, don’t bother with glext.h but use a extension wrapper instead. I recommend GLEW, http://glew.sourceforge.net

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody point me in the right direction to be able to encrypt a
can anybody point me in the right direction as to how I would go
I just wondered if anybody can point me in the right direction: I'm looking
Can anybody point me in the direction of software similar to StyleCop for C#
Can anybody point me in the right direction to get Ninject working with WCF
Can anybody point me to a good beginner's guide for making Facebook apps?
can anybody tell me what's the point if any for a javascript function like
can anybody show me how to build a string using checkbox. what would be
I'm trying to build this layout with views: http://screencast.com/t/3DFHcuwtfXV Can anybody point me in
can anybody recommend some really good resources for how to get Apache authenticating users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.