Source Code Cross Referenced for GLData.java in  » IDE-Eclipse » swt » org » eclipse » swt » opengl » 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 » IDE Eclipse » swt » org.eclipse.swt.opengl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*******************************************************************************
002:         * Copyright (c) 2000, 2005 IBM Corporation and others.
003:         * All rights reserved. This program and the accompanying materials
004:         * are made available under the terms of the Eclipse Public License v1.0
005:         * which accompanies this distribution, and is available at
006:         * http://www.eclipse.org/legal/epl-v10.html
007:         *
008:         * Contributors:
009:         *     IBM Corporation - initial API and implementation
010:         *******************************************************************************/package org.eclipse.swt.opengl;
011:
012:        /**
013:         * The GLData class is a device-independent description
014:         * of the pixel format attributes of a GL drawable.
015:         *
016:         * @see GLCanvas
017:         */
018:
019:        public class GLData {
020:            /**
021:             * Specifies a double-buffered surface.  During context
022:             * creation, only double-buffered formats are considered
023:             * when set to true. 
024:             */
025:            public boolean doubleBuffer;
026:
027:            /**
028:             * Specifies a stereo surface.  During context creation,
029:             * only stereo formats are considered when set to true. 
030:             */
031:            public boolean stereo;
032:
033:            /**
034:             * The size in bits of the color buffer's red channel.
035:             * During context creation, this specifies the minimum
036:             * required red bits.
037:             */
038:            public int redSize;
039:
040:            /**
041:             * The size in bits of the color buffer's green channel.
042:             * During context creation, this specifies the minimum
043:             * required green bits.
044:             */
045:            public int greenSize;
046:
047:            /**
048:             * The size in bits of the color buffer's blue channel.
049:             * During context creation, this specifies the minimum
050:             * required blue bits.
051:             */
052:            public int blueSize;
053:
054:            /**
055:             * The size in bits of the color buffer's alpha channel.
056:             * During context creation, this specifies the minimum
057:             * required alpha bits.
058:             */
059:            public int alphaSize;
060:
061:            /**
062:             * The size in bits of the depth buffer.  During context
063:             * creation, the smallest depth buffer of at least the
064:             * specified value is preferred, or zero for no depth
065:             * buffer.
066:             */
067:            public int depthSize;
068:
069:            /**
070:             * The desired number of stencil bitplanes.  During
071:             * context creation, the smallest stencil buffer of at
072:             * least the specified value is preferred, or zero for
073:             * no stencil buffer.
074:             */
075:            public int stencilSize;
076:
077:            /**
078:             * The size in bits of the accumulation buffer's red
079:             * channel. During context creation, this specifies the
080:             * minimum required red bits.
081:             */
082:            public int accumRedSize;
083:
084:            /**
085:             * The size in bits of the accumulation buffer's green
086:             * channel. During context creation, this specifies the
087:             * minimum required green bits.
088:             */
089:            public int accumGreenSize;
090:
091:            /**
092:             * The size in bits of the accumulation buffer's blue
093:             * channel. During context creation, this specifies the
094:             * minimum required blue bits.
095:             */
096:            public int accumBlueSize;
097:
098:            /**
099:             * The size in bits of the accumulation buffer's alpha
100:             * channel. During context creation, this specifies the
101:             * minimum required alpha bits.
102:             */
103:            public int accumAlphaSize;
104:
105:            /**
106:             * The number of multisample buffers used by this context.
107:             * During context creation, this specifies the minimum
108:             * number of multisample buffers requested.
109:             */
110:            public int sampleBuffers;
111:
112:            /**
113:             * The number of samples accepted in the multisample buffer.
114:             * During creation, pixel formats with the smallest number of
115:             * samples that meets or exceeds the specified minimum number
116:             * are preferred.
117:             */
118:            public int samples;
119:
120:            /**
121:             * Returns a string containing a concise, human-readable
122:             * description of the receiver.
123:             *
124:             * @return a string representation of the data
125:             */
126:            public String toString() {
127:                return (doubleBuffer ? "doubleBuffer," : "")
128:                        + (stereo ? "stereo," : "") + "r:" + redSize + " g:"
129:                        + greenSize + " b:" + blueSize + " a:" + alphaSize
130:                        + "," + "depth:" + depthSize + ",stencil:"
131:                        + stencilSize + ",accum r:" + accumRedSize + "g:"
132:                        + accumGreenSize + "b:" + accumBlueSize + "a:"
133:                        + accumAlphaSize + ",sampleBuffers:" + sampleBuffers
134:                        + ",samples:" + samples;
135:            }
136:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.