Source Code Cross Referenced for GL10Ext.java in  » 6.0-JDK-Modules » j2me » javax » microedition » khronos » opengles » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » javax.microedition.khronos.opengles 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright  1990-2007 Sun Microsystems, Inc. All Rights Reserved.
003:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
004:         * 
005:         * This program is free software; you can redistribute it and/or
006:         * modify it under the terms of the GNU General Public License version
007:         * 2 only, as published by the Free Software Foundation.
008:         * 
009:         * This program is distributed in the hope that it will be useful, but
010:         * WITHOUT ANY WARRANTY; without even the implied warranty of
011:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012:         * General Public License version 2 for more details (a copy is
013:         * included at /legal/license.txt).
014:         * 
015:         * You should have received a copy of the GNU General Public License
016:         * version 2 along with this work; if not, write to the Free Software
017:         * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
018:         * 02110-1301 USA
019:         * 
020:         * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
021:         * Clara, CA 95054 or visit www.sun.com if you need additional
022:         * information or have any questions.
023:         */
024:
025:        package javax.microedition.khronos.opengles;
026:
027:        /**
028:         * The <code>GL10Ext</code> interface contains the Java(TM)
029:         * programming language bindings for the
030:         * <code>OES_query_matrix</code> extension to OpenGL(R) ES 1.0.
031:         *
032:         * <p> The documentation in this class is normative with respect to
033:         * instance variable names and values, method names and signatures,
034:         * and exception behavior.  The remaining documentation is placed here
035:         * for convenience and does not replace the normative documentation
036:         * found in the OpenGL ES 1.0 specification and the OpenGL
037:         * specification versions it references.
038:         */
039:        public interface GL10Ext extends GL {
040:
041:            // OES_query_matrix extension (optional profile extension in 1.0,
042:            // deprecated in 1.1)
043:
044:            //   /**
045:            //    * Flag indicating the presence of the <code>OES_query_matrix</code>
046:            //    * extension.
047:            //    */
048:            //   int GL_OES_query_matrix                     = 1;
049:
050:            /**
051:             * (<code>OES_query_matrix</code> extension) Return the values of
052:             * the current matrix.
053:             *
054:             * <p><code>glQueryMatrixxOES</code> returns the values of the
055:             * current matrix. <code>mantissa</code> returns the 16 mantissa
056:             * values of the current matrix, and <code>exponent</code> returns
057:             * the correspnding 16 exponent values. The matrix value <i>i</i>
058:             * is then close to <code>mantissa</code>[<i>i</i>] *
059:             * 2^<code>exponent</code>[<i>i</i>].
060:             *
061:             * <p>Use <code>glMatrixMode</code> and
062:             * <code>glActiveTexture</code> to select the desired matrix to
063:             * return.
064:             *
065:             * <p>If all are valid (not <code>NaN</code> or <code>Inf</code>),
066:             * <code>glQueryMatrixxOES</code> returns the status value
067:             * 0. Otherwise, for every component <i>i</i> which is not valid,
068:             * the <i>i</i>th bit is set.
069:             *
070:             * <h4>Notes</h4>
071:             *
072:             * <p><code>glQueryMatrixxOES</code> is available only if the
073:             * <code>GL_OES_query_matrix</code> extension is supported by your
074:             * implementation.
075:             *
076:             * <p>The implementation is not required to keep track of
077:             * overflows. If overflows are not tracked, the returned status
078:             * value is always 0.
079:             *
080:             * <h4>Associated Gets</h4>
081:             *
082:             * <p><code>glGetString</code> with argument
083:             * <code>GL_EXTENSIONS</code>.
084:             * 
085:             * @param mantissa Returns the mantissi of the current matrix.
086:             * @param exponent Returns the exponents of the current matrix.
087:             * @param mantissaOffset the starting offset within the
088:             * <code>mantissa</code> array.
089:             * @param exponentOffset the starting offset within the
090:             * <code>exponent</code> array.
091:             * 
092:             * @return a bitfield indicating which components contain invalid
093:             * (<code>NaN</code> or <code>Inf</code>) values.
094:             *
095:             * @exception UnsupportedOperationException if the underlying
096:             * runtime engine does not support the
097:             * <code>OES_query_matrix</code> extension.
098:             * @exception IllegalArgumentException if <code>mantissa</code> is
099:             * <code>null</code>.
100:             * @exception IllegalArgumentException if <code>exponent</code> is
101:             * <code>null</code>.
102:             * @exception IllegalArgumentException if <code>mantissaOffset</code>
103:             * is less than 0.
104:             * @exception IllegalArgumentException if <code>exponentOffset</code>
105:             * is less than 0.
106:             * @exception IllegalArgumentException if <code>mantissa.length -
107:             * mantissaOffset</code> is less than 16.
108:             * @exception IllegalArgumentException if <code>exponent.length -
109:             * exponentOffset</code> is less than 16.
110:             */
111:            int glQueryMatrixxOES(int[] mantissa, int mantissaOffset,
112:                    int[] exponent, int exponentOffset);
113:
114:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.