Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Gl.IsTexture (gb.opengl)

Static Function IsTexture ( Texture As Integer ) As Boolean

Determine if a name corresponds to a texture.

Parameters

texture

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

Description

Gl.IsTexture 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, Gl.IsTexture returns Gl.FALSE.

A name returned by Gl.GenTextures, but not yet associated with a texture by calling Gl.BindTexture, is not the name of a texture.

See also

Gl.BindTexture, Gl.GenTextures, Gl.GetTexParameter, Gl.TexImage1D, Gl.TexImage2D, Gl.TexImage3D, Gl.TexParameter

See original documentation on OpenGL website