openGL之API学习(二零六)glClientActiveTexture

Posted hankern

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openGL之API学习(二零六)glClientActiveTexture相关的知识,希望对你有一定的参考价值。

最多支持到gl3,gl4以后无此函数。

glClientActiveTexture selects the vertex array client state parameters to be modified by glTexCoordPointer, and enabled or disabled with glEnableClientState or glDisableClientState, respectively, when called with a parameter of GL_TEXTURE_COORD_ARRAY.

glClientActiveTexture
texture
    Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTUREi, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0.

以上是关于openGL之API学习(二零六)glClientActiveTexture的主要内容,如果未能解决你的问题,请参考以下文章

openGL之API学习(二零九)glColor

openGL之API学习(二零七)glTexCoordPointer

openGL之API学习(二零二)glsl的smooth flat

openGL之API学习(二零八)客户端 服务器端 client server

openGL之API学习(二零三)GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T

openGL之API学习(二零四)GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER