than or equal to log<sub>2</sub> of the value of <code class="constant">GL_MAX_CUBE_MAP_TEXTURE_SIZE</code>. For all other
            values of <em class="parameter"><code>textarget</code></em>, <em class="parameter"><code>level</code></em> must be greater than or equal to zero and no larger than log<sub>2</sub>
            of the value of <code class="constant">GL_MAX_TEXTURE_SIZE</code>.
        </p><p>
            <em class="parameter"><code>layer</code></em> specifies the layer of a 2-dimensional image