f <em class="parameter"><code>attachment</code></em> is not <code class="constant">GL_COLOR_ATTACHMENT0</code>, <code class="constant">GL_DEPTH_ATTACHMENT</code>, or <code class="constant">GL_STENCIL_ATTACHMENT</code>.
        </p><p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if the attached object at the named attachment point is <code class="constant">GL_RENDERBUFFER</code> and <em class="parameter"><code>pname</code></em> is not
            <code class="constant">GL_FRAMEBUFF