+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
- "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
-<refentry id="glIsTexture">
- <refmeta>
- <refmetainfo>
- <copyright>
- <year>1991-2006</year>
- <holder>Silicon Graphics, Inc.</holder>
- </copyright>
- </refmetainfo>
- <refentrytitle>glIsTexture</refentrytitle>
- <manvolnum>3G</manvolnum>
- </refmeta>
- <refnamediv>
- <refname>glIsTexture</refname>
- <refpurpose>determine if a name corresponds to a texture</refpurpose>
- </refnamediv>
- <refsynopsisdiv><title>C Specification</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>GLboolean <function>glIsTexture</function></funcdef>
- <paramdef>GLuint <parameter>texture</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- </refsynopsisdiv>
- <refsect1 id="parameters"><title>Parameters</title>
- <variablelist>
- <varlistentry>
- <term><parameter>texture</parameter></term>
- <listitem>
- <para>
- Specifies a value that may be the name of a texture.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
- <refsect1 id="description"><title>Description</title>
- <para>
- <function>glIsTexture</function> returns <constant>GL_TRUE</constant> if <parameter>texture</parameter> is currently the name of a texture.
- If <parameter>texture</parameter> is zero, or is a non-zero value that is not currently the
- name of a texture, or if an error occurs, <function>glIsTexture</function> returns <constant>GL_FALSE</constant>.
- </para>
- <para>
- A name returned by <citerefentry><refentrytitle>glGenTextures</refentrytitle></citerefentry>, but not yet associated with a texture
- by calling <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>, is not the name of a texture.
- </para>
- </refsect1>
- <refsect1 id="notes"><title>Notes</title>
- <para>
- <function>glIsTexture</function> is available only if the GL version is 1.1 or greater.
- </para>
- </refsect1>
- <refsect1 id="errors"><title>Errors</title>
- <para>
- <constant>GL_INVALID_OPERATION</constant> is generated if <function>glIsTexture</function> is executed
- between the execution of <citerefentry><refentrytitle>glBegin</refentrytitle></citerefentry> and the corresponding
- execution of <citerefentry><refentrytitle>glEnd</refentrytitle></citerefentry>.
- </para>
- </refsect1>
- <refsect1 id="seealso"><title>See Also</title>
- <para>
- <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glCopyTexImage1D</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glCopyTexImage2D</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glDeleteTextures</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glGenTextures</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glGet</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glGetTexParameter</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>,
- <citerefentry><refentrytitle>glTexParameter</refentrytitle></citerefentry>
- </para>
- </refsect1>
- <refsect1 id="Copyright"><title>Copyright</title>
- <para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
- <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
- </para>
- </refsect1>
-</refentry>