Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a quick way to retrieve documentation of OpenGL ES functions and symbols in Xcode?

While learning OpenGL ES 2.0 I find it inconvenient to look up OpenGL ES related symbols like glBindFramebuffer online. Maybe there is a better way? Is there a better documentation browser for OpenGL ES?

like image 800
SecretService - not really Avatar asked Jul 25 '11 22:07

SecretService - not really


4 Answers

I couldn't find offline documentation so I packaged Dash Docsets for OpenGL ES 2.0 and 1.1. If you dont use Dash, you can still refer to the HTML documentation.

like image 155
Buzzy Avatar answered Nov 05 '22 04:11

Buzzy


Well, I guess there are the OpenGL ES 2.0 Reference Pages (http://www.khronos.org/opengles/sdk/docs/man/), but that is online.

You could always print the Quick Reference Card, that is helpful, but only if you know a little bit about the functions in question.

And finally, if working in C++, you could give a try to GLES Emulator. This was written by a colleague of mine, it contains OpenGL ES 2.0 headers with documentation comments extracted from online documentation. You can: - either use it directly in Visual Studio or Eclipse - generate Doxygen out of it, to get offline version of the OpenGL documentation - use some bash magic to transfer the comments from "C" header file to NDK class file

Hope this helps ... (and sorry abouth the link, i lack reputation to post >2 links)

like image 33
Face Bloke Avatar answered Nov 05 '22 06:11

Face Bloke


$ wget -r -l 2 http://www.khronos.org/opengles/sdk/docs/man/xhtml/index.html
like image 36
Yaroslav Volovich Avatar answered Nov 05 '22 04:11

Yaroslav Volovich


Here is one more way. Not exactly for XCode, but I think it is still useful.

It is possible to clone repository with source code of all OpenGL docs. Use your favorite SVN or CVS client:

svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/manglsl glsl
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man2 opengl_2
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man3 opengl_3
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man4 opengl_4
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogles/trunk/sdk/docs opengl_es_2_3
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/registry/trunk/public/egl/sdk/docs opengl_es_1

After that, you will need to find appropriate an 'index.php' file and open it in browser. This way you will get man pages with an index on the left side, just like in offline docs.

You can grab more if you wish: there are at least "Super Bible" book sources at "ecosystem" repository. Just navigate some levels up.

See wiki page for details: http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages

like image 1
Ivan Aksamentov - Drop Avatar answered Nov 05 '22 04:11

Ivan Aksamentov - Drop