Thread: Can I use Open GL to...
09-05-2006, 09:03 PM #1DrezardGuestCan I use Open GL to...
Hello. Im new to mac and am wondering can i use Open GL to program on mac?
- Cheers, Daniel
09-06-2006, 04:20 AM #2LoganGuest
Do a Wiki of OpenGL, search it for OS X, you get towards the bottom this quote "Mac OS X has three APIs to get OpenGL support: AGL for Carbon, NSOpenGL for Cocoa and CGL for lower-level access."
If you do a google search for AGL, one of the top results is a Technical Q&A for OS X OpenGL: (link to that). This quote is from that link, and the link is apple.com so we can assume it's official from the developers.
Q: What are the Mac OS X system specific OpenGL Interfaces?
A: Apple currently provides 4 basic interfaces to OpenGL: CGL, AGL, NSGL, and GLUT. These APIs perform the required tasks of selecting a pixel format, creating a context for OpenGL state and finally attaching to an OS-specific drawable which selects a renderer and creates the buffers necessary for OpenGL drawing. All of these APIs also provide for buffer swaps and the ability to set context parameters and options. The 4 APIs are as follows:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By moreguns in forum OS X - Operating SystemReplies: 8Last Post: 12-15-2014, 01:55 PM
By pcc in forum Switcher HangoutReplies: 5Last Post: 06-24-2012, 11:07 AM
By anakin2121 in forum OS X - Operating SystemReplies: 1Last Post: 05-30-2012, 02:22 PM
By yarjarrarr in forum OS X - Apps and GamesReplies: 4Last Post: 09-26-2010, 05:47 PM
By Slokunshialgo in forum OS X - Development and DarwinReplies: 0Last Post: 05-12-2008, 04:05 AM