名称
glIsVertexArray —确定名称是否对应于顶点数组对象
C规范
GLboolean glIsVertexArray( GLuint array);
参数
array
指定一个值,该值可以是顶点数组对象的名称。
描述
如果array当前是顶点数组对象的名称,则glIsVertexArray返回GL_TRUE。如果array为零,或者array不是顶点数组对象的名称,或者发生错误,则glIsVertexArray返回GL_FALSE。如果array是glGenVertexArrays返回的名称,但尚未通过调用glBindVertexArray绑定该名称,则该名称不是顶点数组对象,并且glIsVertexArray返回GL_FALSE。
API 支持版本
| 函数名 | 2.0 | 3.0 | 3.1 | 3.2 |
|---|---|---|---|---|
| glIsVertexArray | - | ✔ | ✔ | ✔ |
另见
glGenVertexArrays, glBindVertexArray, glDeleteVertexArrays
版权
https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsVertexArray.xhtml
Copyright © 2010-2015 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
本文详细介绍了OpenGL函数glIsVertexArray的使用方法,此函数用于检查指定的整数是否为顶点数组对象的名称。文章涵盖了参数说明、返回值、API支持版本及与之相关的其他函数。

5022

被折叠的 条评论
为什么被折叠?



