1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glGetMinmaxParameter">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glGetMinmaxParameter
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glGetMinmaxParameter
</refname>
17 <refpurpose>get minmax parameters
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glGetMinmaxParameterfv
</function></funcdef>
23 <paramdef>GLenum
<parameter>target
</parameter></paramdef>
24 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
25 <paramdef>GLfloat *
<parameter>params
</parameter></paramdef>
30 <funcdef>void
<function>glGetMinmaxParameteriv
</function></funcdef>
31 <paramdef>GLenum
<parameter>target
</parameter></paramdef>
32 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
33 <paramdef>GLint *
<parameter>params
</parameter></paramdef>
37 <refsect1 id=
"parameters"><title>Parameters
</title>
40 <term><parameter>target
</parameter></term>
44 <constant>GL_MINMAX
</constant>.
49 <term><parameter>pname
</parameter></term>
52 The parameter to be retrieved.
54 <constant>GL_MINMAX_FORMAT
</constant> or
55 <constant>GL_MINMAX_SINK
</constant>.
60 <term><parameter>params
</parameter></term>
63 A pointer to storage for the retrieved parameters.
69 <refsect1 id=
"description"><title>Description
</title>
71 <function>glGetMinmaxParameter
</function> retrieves parameters for the current minmax table by setting
72 <parameter>pname
</parameter> to one of the following values:
76 <informaltable frame=
"topbot">
77 <tgroup cols=
"2" align=
"left">
82 <entry rowsep=
"1" align=
"left"><emphasis role=
"bold">
85 <entry rowsep=
"1" align=
"left"><emphasis role=
"bold">
93 <constant>GL_MINMAX_FORMAT
</constant>
96 Internal format of minmax table
101 <constant>GL_MINMAX_SINK
</constant>
104 Value of the
<emphasis>sink
</emphasis> parameter
113 <refsect1 id=
"notes"><title>Notes
</title>
115 <function>glGetMinmaxParameter
</function> is present only if
<code>ARB_imaging
</code> is returned when
<citerefentry><refentrytitle>glGetString
</refentrytitle></citerefentry>
116 is called with an argument of
<constant>GL_EXTENSIONS
</constant>.
119 <refsect1 id=
"errors"><title>Errors
</title>
121 <constant>GL_INVALID_ENUM
</constant> is generated if
<parameter>target
</parameter> is not
<constant>GL_MINMAX
</constant>.
124 <constant>GL_INVALID_ENUM
</constant> is generated if
<parameter>pname
</parameter> is not one of the allowable
128 <constant>GL_INVALID_OPERATION
</constant> is generated if
<function>glGetMinmaxParameter
</function> is executed
129 between the execution of
<citerefentry><refentrytitle>glBegin
</refentrytitle></citerefentry> and the corresponding
130 execution of
<citerefentry><refentrytitle>glEnd
</refentrytitle></citerefentry>.
133 <refsect1 id=
"seealso"><title>See Also
</title>
135 <citerefentry><refentrytitle>glMinmax
</refentrytitle></citerefentry>,
136 <citerefentry><refentrytitle>glGetMinmax
</refentrytitle></citerefentry>
139 <refsect1 id=
"Copyright"><title>Copyright
</title>
141 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
142 Silicon Graphics, Inc. This document is licensed under the SGI
143 Free Software B License. For details, see
144 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.