title: Number of texture units (GL_TEXTUREi) in OpenGL 4 implementation in Visual Studio 2015
body: <p>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). </p>
  
  <p>Does it mean that the maximum number of textures that could be accessed at the same time is limited by 32?</p>
  
  <p>This is from the implementation source code:</p>
  
  <pre><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
  </code></pre>