GLISTEXTURE

Section: Misc. Reference Manual Pages (3G)
索引 xjman
 

名前

glIsTexture - ある名前がテクスチャに対応するかどうかを調べる

 

書式

GLboolean glIsTexture( GLuint texture )


 

引き数

texture
テクスチャの名前かもしれない値を指定する。
 

説明

glIsTexture は、現在 texture がテクスチャ名ならば GL_TRUE を返す。 texture が 0 の場合、または 0 以外の値で現在テクスチャ名でない値の場合、 エラーが起きた場合には glIsTextureGL_FALSE を返す。  

注意

glIsTexture が使えるのは、バージョン 1.1 以降の GL だけである。  

エラー

GL_INVALID_OPERATION: glBegin と、その対になる glEnd の間で glIsTexture が実行されると起こる。  

関連項目

glBindTexture(3G), glCopyTexImage1D(3G), glCopyTexImage2D(3G), glDeleteTextures(3G), glGenTextures(3G), glGet(3G), glGetTexParameter(3G), glTexImage1D(3G), glTexImage2D(3G), glTexImage3D(3G), glTexParameter(3G)


 

Index

名前
書式
引き数
説明
注意
エラー
関連項目

jman



Time: 07:01:08 GMT, January 12, 2009