[HOpenGL] Querying GL info, including # of texture units.

Conal Elliott conal at conal.net
Fri Jul 3 20:13:30 EDT 2009


I'm looking for a way to query the number of available texture units to
shaders.  In C, I think the value can be extracted with
glGetIntegerv<http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml>passing
in GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.  There are also getInteger1
and GetMaxCombinedTextureImageUnits in
Graphics.Rendering.OpenGL.GL.QueryUtils, but that module isn't exported from
the OpenGL package.

Have I missed something?

  - Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/hopengl/attachments/20090703/e2d60b5c/attachment.html


More information about the HOpenGL mailing list