3d235ac72c12d75706602ad5ccfbaa16f24bcbd8
[clinton/guile-figl.git] / upstream-man-pages / man4 / removedTypes.xml
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="removedTypes">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2012</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>removedTypes</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>removedTypes</refname>
17 <refpurpose>Describes types removed and replaced in the OpenGL API in OpenGL 4.2</refpurpose>
18 </refnamediv>
19 <refsect1 id="description"><title>Description</title>
20 <para>
21 In the May, 2012 update of the OpenGL 4.2 Specification, all
22 APIs using the types GLclampf and GLclampd were modified to
23 use GLfloat and GLdouble, respectively, instead. Language
24 was added to the Specification requiring that these
25 parameters be clamped, when required, at use time rather
26 than at specification time.
27 </para>
28 <para>
29 This change allows specifying parameters in ranges
30 appropriate for non-fixed-point framebuffers (integer and
31 floating-point formats). The change does not require any
32 changes to user code calling these functions, because the
33 actual underlying types are identical, the behavior is
34 externally unchanged, and the header files continue to
35 define the old types for compatibility with older code.
36 </para>
37 </refsect1>
38 <refsect1 id="seealso"><title>See Also</title>
39 <para>
40 <citerefentry><refentrytitle>glBlendColor</refentrytitle></citerefentry>,
41 <citerefentry><refentrytitle>glClearColor</refentrytitle></citerefentry>,
42 <citerefentry><refentrytitle>glClearDepth</refentrytitle></citerefentry>,
43 <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>,
44 <citerefentry><refentrytitle>glDepthRangeArray</refentrytitle></citerefentry>,
45 <citerefentry><refentrytitle>glDepthRangeIndexed</refentrytitle></citerefentry>,
46 <citerefentry><refentrytitle>glMinSampleShading</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
48 </para>
49 </refsect1>
50 <refsect1 id="Copyright"><title>Copyright</title>
51 <para>
52 Copyright <trademark class="copyright"></trademark> 2012 Khronos Group.
53 This material may be distributed subject to the terms and conditions set forth in
54 the Open Publication License, v 1.0, 8 June 1999.
55 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
56 </para>
57 </refsect1>
58 </refentry>