aboutsummaryrefslogtreecommitdiffstats
path: root/www/j3d1_4/api-changes.html
blob: 0a88c608b1f2d263b09c83df6adda88278fa2a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
/*
 * $RCSfile$
 *
 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
 *
 * Use is subject to license terms.
 *
 * $Revision$
 * $Date$
 * $State$
 */
 -->

<!--
************************************************************************
*
* NOTE: This file must be edited by hand to avoid Mozilla Composer
* putting all preformatted lines into a single line with "<br>"
* replacing ASCII newlines, making it impossible to do a meaningful
* "diff" operation.
*
************************************************************************
-->

<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>List of Proposed Java 3D 1.4 API Changes</title>
</head>
<body>
<h2>List of Proposed Java&nbsp;3D<sup><font size="-2">TM</font></sup>
1.4 API Changes</h2>
<p>This document conatains a list of the proposed API changes to the
Java&nbsp;3D<sup><font size="-2">TM</font></sup> 1.4 API
that deviate from the 1.3 API.
</p>
<p>Note: the most up-to-date version of
this list is in the <code>dev-1_4</code> branch of the
<code>docs/api-changes-1_4.txt</code>
file, which is updated to record the addition or deprecation of
any public or protected class, interface, field, constructor, or method
to the Java&nbsp;3D API.
</p>
<p>No incompatible changes to the Java&nbsp;3D 1.3 API are allowed.</p>
<pre>
I. New/deprecated fields, constructors, methods

    SceneGraphObject
    ----------------
    New methods:
	public void setName(String name)
	public String getName()


    GeometryArray (incomplete list)
    -------------
    New fields:
	public static final int ALLOW_VERTEX_ATTR_READ
	public static final int ALLOW_VERTEX_ATTR_WRITE
	public static final int VERTEX_ATTRIBUTES

    New constructors:
	public GeometryArray(int vertexCount,
			     int vertexFormat,
			     int texCoordSetCount,
			     int[] texCoordSetMap,
			     int vertexAttrCount,
			     int[] vertexAttrFormats,
			     String[] vertexAttrNames)

    New methods:
	public int getVertexAttrCount()
	public void getVertexAttrFormats(int[] vertexAttrFormats)
	public void getVertexAttrNames(String[] vertexAttrNames)


    Node
    ----
    New fields:
	public static final int ALLOW_PARENT_READ


    Sensor
    ------
    Deprecated fields:
	public static final int PREDICT_NONE
	public static final int PREDICT_NEXT_FRAME_TIME
	public static final int NO_PREDICTOR
	public static final int HEAD_PREDICTOR
	public static final int HAND_PREDICTOR

    Deprecated methods:
	public void setPredictor(int predictor)
	public int getPredictor()
	public void setPredictionPolicy(int policy)
	public int getPredictionPolicy()
	public void getRead(Transform3D read, long deltaT)


II. Reparented classes

    NONE


III. New classes and interfaces (in javax.media.j3d)

    ShaderAppearance
    ----------------
	public class ShaderAppearance extends Appearance

    ShaderAttributeSet
    ------------------
	public class ShaderAttributeSet extends NodeComponent

    ShaderAttribute
    ---------------
	public abstract class ShaderAttribute extends NodeComponent

    ShaderAttributeBinding
    ----------------------
	public class ShaderAttributeBinding extends ShaderAttribute

    ShaderAttributeObject
    ---------------------
	public abstract class ShaderAttributeObject extends ShaderAttribute

    ShaderAttributeValue
    --------------------
	public class ShaderAttributeValue extends ShaderAttributeObject

    ShaderAttributeArray
    --------------------
	public class ShaderAttributeArray extends ShaderAttributeObject

    Shader
    ------
	public abstract class Shader extends NodeComponent

    ShaderProgram
    -------------
	public abstract class ShaderProgram extends NodeComponent

    CgShader
    --------
	public abstract class CgShader extends Shader

    CgFragmentShader
    ----------------
	public class CgFragmentShader extends CgShader

    CgVertexShader
    --------------
	public class CgVertexShader extends CgShader

    CgShaderProgram
    ---------------
	public class CgShaderProgram extends ShaderProgram

    GLSLShader
    ----------
	public abstract class GLSLShader extends Shader

    GLSLFragmentShader
    ------------------
	public class GLSLFragmentShader extends GLSLShader

    GLSLVertexShader
    ----------------
	public class GLSLVertexShader extends GLSLShader

    GLSLShaderProgram
    -----------------
	public class GLSLShaderProgram extends ShaderProgram


IV. Deprecated classes and interfaces (in javax.media.j3d)

    CompressedGeometry
    CompressedGeometryHeader
</pre>
<p><font color="gray">Page last updated &#8212;
$Date$
</font></p>
</body>
</html>