glActiveTextureARB — select active texture unit

亡梦爱人 提交于 2019-11-27 04:12:13

C Specification

void glActiveTextureARB ( GLenum texture );

Parameters

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_ARB, where 0i< GL_MAX_TEXTURE_UNITS_ARB, which is an implementation-dependent value. The intial value is GL_TEXTURE0_ARB.

Description

glActiveTextureARB selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementation dependent, but must be at least 2.

Vertex arrays are client-side GL resources, which are selected by the glClientActiveTextureARB routine.

Notes

glActiveTextureARB is only supported if GL_ARB_multitexture is included in the string returned by glGetString when called with the argument GL_EXTENSIONS.

转载于:https://www.cnblogs.com/chengtalent/archive/2008/05/07/1186474.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!