chengtalent

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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.

posted on 2008-05-07 11:13  江 城 子  阅读(750)  评论(0编辑  收藏  举报