GLAPI/glIsVertexArray: Difference between revisions
m Renaming category: 'API Reference 4' to 'Core API Reference'. |
m Bot: Adding better formatting. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
== Function Definition == | == Function Definition == | ||
GLboolean '''glIsVertexArray'''(GLuint | GLboolean '''glIsVertexArray'''(GLuint {{param|array}}); | ||
; array | ; array | ||
Line 15: | Line 15: | ||
== Description == | == Description == | ||
'''glIsVertexArray''' returns {{ | '''glIsVertexArray''' returns {{enum|GL_TRUE}} if {{param|array}} is currently the name of a vertex array object. If {{param|array}} is zero, or if {{param|array}} is not the name of a vertex array object, or if an error occurs, '''glIsVertexArray''' returns {{enum|GL_FALSE}}. If {{param|array}} is a name returned by {{apifunc|glGenVertexArrays}}, by that has not yet been bound through a call to {{apifunc|glBindVertexArray}}, then the name is not a vertex array object and '''glIsVertexArray''' returns {{enum|GL_FALSE}}. | ||
== See Also == | == See Also == | ||
{{apifunc|glGenVertexArrays}}, {{apifunc|glBindVertexArray}}, {{apifunc|glDeleteVertexArrays}} | |||
== Copyright == | == Copyright == | ||
Copyright © 2010 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/ http://opencontent.org/openpub/]. | Copyright © 2010-2013 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/ http://opencontent.org/openpub/]. | ||
[[Category:Core API Ref Vertex Arrays|IsVertexArray]] | [[Category:Core API Ref Vertex Arrays|IsVertexArray]] | ||
[[Category:Core API Reference|IsVertexArray]] | [[Category:Core API Reference|IsVertexArray]] |
Latest revision as of 04:07, 30 July 2013
Core in version | 4.6 | |
---|---|---|
Core since version | 3.0 |
glIsVertexArray: determine if a name corresponds to a vertex array object
Function Definition
GLboolean glIsVertexArray(GLuint array);
- array
- Specifies a value that may be the name of a vertex array object.
Description
glIsVertexArray returns GL_TRUE if array is currently the name of a vertex array object. If array is zero, or if array is not the name of a vertex array object, or if an error occurs, glIsVertexArray returns GL_FALSE. If array is a name returned by glGenVertexArrays, by that has not yet been bound through a call to glBindVertexArray, then the name is not a vertex array object and glIsVertexArray returns GL_FALSE.
See Also
glGenVertexArrays, glBindVertexArray, glDeleteVertexArrays
Copyright
Copyright © 2010-2013 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/.