
3 Jul
2009
3 Jul
'09
8:13 p.m.
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 glGetIntegervhttp://www.opengl.org/sdk/docs/man/xhtml/glGet.xmlpassing 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