GlIsTexture - QB64 Wiki

GlIsTexture

From QB64 Wiki

Revision as of 10:19, 8 January 2013 by Galleon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

_glIsTexture: determine if a name corresponds to a texture


Syntax:

 FUNCTION _glIsTexture~%% (BYVAL texture AS _UNSIGNED LONG)
 GLboolean _glIsTexture(GLuint texture);


texture
Specifies a value that may be the name of a texture.


Description:

_glIsTexture returns _GL_TRUE if texture is currently the name of a texture. If texture is zero, or is a non-zero value that is not currently the name of a texture, or if an error occurs, _glIsTexture returns _GL_FALSE.

A name returned by _glGenTextures, but not yet associated with a texture by calling _glBindTexture, is not the name of a texture.


See also:

_GL _glBindTexture, _glDeleteTextures, _glGenTextures


Copyright: 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.