List of Proposed Java 3DTM 1.4 API Changes

This document conatains a list of the proposed API changes to the Java 3DTM 1.4 API that deviate from the 1.3 API.

Note: the most up-to-date version of this list is in the dev-1_4 branch of the docs/api-changes-1_4.txt file, which is updated to record the addition or deprecation of any public or protected class, interface, field, constructor, or method to the Java 3D API.

No incompatible changes to the Java 3D 1.3 API are allowed.

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


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

Page last updated — $Date$