Querying GL info, including # of texture units.
Conal Elliott <[email protected]> Fri, 3 Jul 2009 17:13:30 -0700
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ HOpenGL mailing list [email protected] http://www.haskell.org/mailman/listinfo/hopengl