public abstract class TextureState extends NodeComponentState
| Modifier and Type | Field and Description |
|---|---|
protected int |
boundaryWidth |
protected int |
format |
protected int |
height |
private int[] |
imageComponents |
protected int |
mipMapMode |
protected int |
width |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
TextureState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubReference()
Called when this component reference count is incremented.
|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
void |
readConstructorParams(java.io.DataInput in)
Read the parameters required for the constructor of the Java3D object
|
void |
readObject(java.io.DataInput in) |
void |
writeConstructorParams(java.io.DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
void |
writeObject(java.io.DataOutput out)
DO NOT call symbolTable.addReference in writeObject as this (may)
result in a concurrentModificationException.
|
cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringprivate int[] imageComponents
protected int width
protected int height
protected int format
protected int mipMapMode
protected int boundaryWidth
public TextureState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteConstructorParams in class SceneGraphObjectStatejava.io.IOExceptionpublic void readConstructorParams(java.io.DataInput in)
throws java.io.IOException
SceneGraphObjectStatereadConstructorParams in class SceneGraphObjectStatejava.io.IOExceptionpublic void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class NodeComponentStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class NodeComponentStatejava.io.IOExceptionpublic void addSubReference()
NodeComponentStateaddSubReference in class NodeComponentStatepublic void buildGraph()
SceneGraphObjectStatebuildGraph in class SceneGraphObjectStateCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.