Captain Obvious Discusses OpenGL Function Documentation

Okay, if you've tried option-double-clicking the OpenGL functions, you probably know that the OpenGL ES functions are not available in the Xcode documentation. I'd gotten into the habit of looking them up online, but that's a pain, and not always possible.

The OpenGL ES documentation, however, is available locally on your Mac - they're just not DocSets, they're Man pages. So, if you want to look up a function, drop open a terminal window and type:
man [function name without parenthesis]
So, to get the documentation for the glFrustum method, you would type:
man glFrustum
Not quite as easy as looking up Cocoa methods or Core Foundation functions, but at least it's something you can use when you're off the grid.

0 komentar:

Post a Comment

  • Digg
  • del.icio.us
  • StumbleUpon
  • Yahoo! Buzz
  • Technorati
  • Facebook
  • TwitThis
  • MySpace
  • LinkedIn
  • Google
  • Reddit
  • Netvibes
Design by Blogger Tune-UpCopyright © 2011 Gadget Reviews Update 2012 | Powered by Blogger