Texture units.

Is there anything out there to probe number of TMUs (TextureManagementUnits) onboard??

I know that OpenGL 1.2 would support 4 channels but what is going on when hardware only supports less than that?? Opengl Driver emulation dependant??
Okay, i prefer to do this multipass emulation
on my own thus i really need to detect Texture units to load my proper custom opengl driver…

Thank you. :

Straight from the Red Book

You may also call
glGetIntegerv (GL_MAX_TEXTURE_UNITS_ARB,…) to see how many texturing units are available on your implementation.