当前位置:网站首页>API learning of OpenGL (2007) gltexcoordpointer
API learning of OpenGL (2007) gltexcoordpointer
2022-06-28 06:03:00 【hankern】
Up to gl3,gl4 No such function in the future .
This function is called on the client .
Texture coordinate data is initially disabled , Can not be glArrayElement, glDrawElements, glDrawRangeElements, glDrawArrays, glMultiDrawArrays, or glMultiDrawElements call .
void glTexCoordPointer( GLint size,
GLenum type,
GLsizei stride,
const GLvoid * pointer);
Parameters
size
Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
type
Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
stride
Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
pointer
Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
边栏推荐
- Simple handwritten debounce function
- pytorch详解
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
- @Autowired注解为空的原因
- pkg打包node工程(express)
- bash install. SH ******** error
- Data middle office: construction ideas and implementation experience of data governance
- Data midrange: implementation and summary of AI midrange
- Introduction to uicollectionviewdiffabledatasource and nsdiffabledatasourcesnapshot
- Syn retransmission caused by IPVS
猜你喜欢

自定义 cube-ui 弹出框dialog支持多个且多种类型的input框

Windows环境Redis使用AOF持久化,无法生成AOF文件,生成后无法加载AOF文件内容

Small ball playing

Data middle office: six questions data middle office

Drop down box for implementation

Qtcanpool knowledge 07:ribbon

Jenkins continues integration 2

6. graduation design temperature and humidity monitoring system (esp8266 + DHT11 +oled real-time upload temperature and humidity data to the public network server and display the real-time temperature

Yygh-6-wechat login
![Video tutorial on website operation to achieve SEO operation [21 lectures]](/img/1f/9ae2ed5bfec5749c764630d1daccea.jpg)
Video tutorial on website operation to achieve SEO operation [21 lectures]
随机推荐
Relevant implementation records of CSI and local disk
No one can only use foreach to traverse arrays, right?
JQ picture amplifier
Data middle office: construction ideas and implementation experience of data governance
PKG package node project (express)
[MySQL] all query tables contain 20million data -- how to optimize SQL
SQL and list de duplication
1404. number of steps to reduce binary representation to 1
Data warehouse: financial / banking theme layer division scheme
Xcode13.3.1 error reported after pod install
Data midrange: implementation and summary of AI midrange
Working principle of es9023 audio decoding chip
A full set of excellent SEO tutorials worth 300 yuan [159 lessons]
Install fmpefg
Yygh-8-appointment registration
Oracle condition, circular statement
安装 Ffmpefg
Development trend of mobile advertising: Leveraging stock and fine marketing
RL practice (0) - and the platform xinchou winter season [rule based policy]
使用pytorch和tensorflow计算分类模型的混淆矩阵