1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/internal/help/_glIsTexture.txt
2021-01-04 15:46:51 -03:00

30 lines
1 KiB
Plaintext

'''_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 currently the name of a texture, or if an error occurs, '''_glIsTexture''' returns {{KW|_GL_FALSE}}.
A name returned by {{KW|_glGenTextures}}, but not yet associated with a texture by calling {{KW|_glBindTexture}}, is not the name of a texture.
{{PageSeeAlso}}
[[_GL|SUB _GL]]
{{KW|_glBindTexture}}, {{KW|_glDeleteTextures}}, {{KW|_glGenTextures}}
{{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/ http://oss.sgi.com/projects/FreeB/].