I use OpenGL 4 for some texture manipulations in visual C++. The platform that I am working on is Visual Studio 2015. Having looked at the implementation of GL_TEXTUREi texture units, I found out that the total number is limited to 0 to 31 (32 in total).
Does it mean that the maximum number of textures that could be accessed at the same time is limited by 32?
This is from the implementation source code:
#define GL_TEXTURE0 0x84C0
#define GL_TEXTURE1 0x84C1
#define GL_TEXTURE2 0x84C2
#define GL_TEXTURE3 0x84C3
#define GL_TEXTURE4 0x84C4
#define GL_TEXTURE5 0x84C5
#define GL_TEXTURE6 0x84C6
...
#define GL_TEXTURE31 0x84DF