开发者

searchable online opengl documentation [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

开发者_JAVA技巧 Improve this question

Is there documentation on opengl that is searchable? The one provided here is inadequate in the sense that I can't do something like ctrl-f "gl_rgb" and get results, since it would only search the names of classes or functions.

Before you tell me to just google it, let me mention that if I did a query for "range python docs" it'll take me directly to pythons documentation for range, but I did a similar query for opengl ("gl_rgb opengl documentation") and only got forum results.


If you want a "large PDF", there is always the OpenGL specification itself. I'm something of an adept in OpenGL, so I can read through the spec and know what it's talking about. But most people probably shouldn't. It isn't very readable.

There is the OpenGL Wiki, which being a MediaWiki, is very searchable.

Before you tell me to just google it, let me mention that if I did a query for "range python docs" it'll take me directly to pythons documentation for range, but I did a similar query for opengl ("gl_rgb opengl documentation") and only got forum results.

That's because "GL_RGB" is not something that is "documented". It is an enumerator. Indeed, the meaning of GL_RGB is different depending on where it is used.

As the internal format parameter to glTexImage* functions, it means that the internal format of the texture will be a color format that contains red, green, and blue components (alpha being 1.0), and that the implementation will select the number of bits per channel however it sees fit.

As the pixel format parameter to glTexImage*, it means that the pixel data given to the function is color data containing red, green, and blue data, in that specific order. So there can't be a single piece of documentation for "GL_RGB" as it has different meanings.

Python's range function is a function. And functions have documentation. Just like OpenGL functions. If you search for "glVertexAttribPointer", you will find documentation for it.


You can use the "site:" feature of google
Here you go

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜