博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
glActiveTextureARB — select active texture unit
阅读量:5257 次
发布时间:2019-06-14

本文共 874 字,大约阅读时间需要 2 分钟。

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 routine.

Notes

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

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

你可能感兴趣的文章
[转]ceph网络通信模块_以monitor模块为例
查看>>
HDOJ 1754 I Hate It(线段树基本操作)
查看>>
latex tree
查看>>
安装NVIDIA驱动时禁用自带nouveau驱动
查看>>
HDU-1255 覆盖的面积 (扫描线)
查看>>
css3学习01
查看>>
【USACO】 奶牛会展
查看>>
ActiveMQ笔记之点对点队列(Point-to-Point)
查看>>
继承和多态
查看>>
Dijkstra+计算几何 POJ 2502 Subway
查看>>
修复IE不能执行JS的方法
查看>>
程序员究竟该如何提高效率zt
查看>>
Java虚拟机的功能
查看>>
希尔排序法(缩小增量法)
查看>>
PHP编程基础学习(一)——数据类型
查看>>
MongoDB-JAVA-Driver 3.2版本常用代码全整理(2) - 查询
查看>>
linux文件操作
查看>>
NPOI处理Word文本中上下角标
查看>>
Android笔记 Handler
查看>>
如何阅读大型前端开源项目的源码(转)
查看>>