GlIsTexture

From QB64 Phoenix Edition Wiki
Revision as of 06:03, 1 May 2022 by SMcNeill (talk | contribs) (Created page with "'''_glIsTexture:''' determine if a name corresponds to a texture {{PageSyntax}} FUNCTION _glIsTexture~%% (BYVAL texture AS _UNSIGNED LONG) GLboolean '''_glIsTexture'''(GLuint {{Parameter|texture}}); ; texture : Specifies a value that may be the name of a texture. {{PageDescription}} '''_glIsTexture''' returns {{KW|_GL_TRUE}} if {{Parameter|texture}} is currently the name of a texture. If {{Parameter|texture}} is zero, or is a non-zero value that is not curren...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 Template:KW 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 Template:KW.

A name returned by Template:KW, but not yet associated with a texture by calling Template:KW, is not the name of a texture.


See also

SUB _GL Template:KW, Template:KW, Template:KW


Template:PageCopyright

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/.