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 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