GLAPI/glIsRenderbuffer: Difference between revisions
4.0 API. |
m Bot: Adding better formatting. |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
== Function Definition == | == Function Definition == | ||
GLboolean '''glIsRenderbuffer'''(GLuint | GLboolean '''glIsRenderbuffer'''(GLuint {{param|renderbuffer}}); | ||
; renderbuffer | ; renderbuffer | ||
Line 15: | Line 15: | ||
== Description == | == Description == | ||
'''glIsRenderbuffer''' returns {{ | '''glIsRenderbuffer''' returns {{enum|GL_TRUE}} if {{param|renderbuffer}} is currently the name of a renderbuffer object. If {{param|renderbuffer}} is zero, or if {{param|renderbuffer}} is not the name of a renderbuffer object, or if an error occurs, '''glIsRenderbuffer''' returns {{enum|GL_FALSE}}. If {{param|renderbuffer}} is a name returned by {{apifunc|glGenRenderbuffers}}, by that has not yet been bound through a call to {{apifunc|glBindRenderbuffer}} or {{apifunc|glFramebufferRenderbuffer}}, then the name is not a renderbuffer object and '''glIsRenderbuffer''' returns {{enum|GL_FALSE}}. | ||
== See Also == | == See Also == | ||
{{apifunc|glGenRenderbuffers}}, {{apifunc|glBindRenderbuffer}}, {{apifunc|glDeleteRenderbuffers}} | |||
== Copyright == | == Copyright == | ||
Line 25: | Line 25: | ||
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 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:API Reference | [[Category:Core API Ref Framebuffer Objects|IsRenderbuffer]] | ||
[[Category:Core API Reference|IsRenderbuffer]] |
Latest revision as of 01:51, 27 September 2012
Core in version | 4.6 | |
---|---|---|
Core since version | 3.0 |
glIsRenderbuffer: determine if a name corresponds to a renderbuffer object
Function Definition
GLboolean glIsRenderbuffer(GLuint renderbuffer);
- renderbuffer
- Specifies a value that may be the name of a renderbuffer object.
Description
glIsRenderbuffer returns GL_TRUE if renderbuffer is currently the name of a renderbuffer object. If renderbuffer is zero, or if renderbuffer is not the name of a renderbuffer object, or if an error occurs, glIsRenderbuffer returns GL_FALSE. If renderbuffer is a name returned by glGenRenderbuffers, by that has not yet been bound through a call to glBindRenderbuffer or glFramebufferRenderbuffer, then the name is not a renderbuffer object and glIsRenderbuffer returns GL_FALSE.
See Also
glGenRenderbuffers, glBindRenderbuffer, glDeleteRenderbuffers
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/.