javax.media.j3d
Class RenderingAttributesStructure
java.lang.Object
javax.media.j3d.J3dStructure
javax.media.j3d.RenderingAttributesStructure
- All Implemented Interfaces:
- ObjectUpdate
class RenderingAttributesStructure
- extends J3dStructure
- implements ObjectUpdate
A rendering attributes structure is an object that handles
NodeComponent object updates.
Field Summary |
(package private) java.util.ArrayList |
objList
|
Method Summary |
(package private) void |
cleanup()
Release resource associate with this structure before GC
We need to clear all those IndexedUnorderSet/WakeupIndexedList
so that the listIdx associate with IndexedObject reset to -1. |
(package private) void |
processMessages(long referenceTime)
This gets overriden by the structure |
(package private) void |
removeNodes(J3dMessage m)
This is used by MasterControl to process any unused message
for final cleanup. |
private void |
updateNodeComponent(java.lang.Object[] args)
|
void |
updateObject()
The actual update function. |
private void |
updateTextureAttributes(java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objList
java.util.ArrayList objList
RenderingAttributesStructure
RenderingAttributesStructure()
processMessages
void processMessages(long referenceTime)
- Description copied from class:
J3dStructure
- This gets overriden by the structure
- Specified by:
processMessages
in class J3dStructure
updateObject
public void updateObject()
- Description copied from interface:
ObjectUpdate
- The actual update function.
- Specified by:
updateObject
in interface ObjectUpdate
updateNodeComponent
private void updateNodeComponent(java.lang.Object[] args)
updateTextureAttributes
private void updateTextureAttributes(java.lang.Object[] args)
removeNodes
void removeNodes(J3dMessage m)
- Description copied from class:
J3dStructure
- This is used by MasterControl to process any unused message
for final cleanup. DON'T decrememt message count in
the method, as it is done by MasterControl.
- Specified by:
removeNodes
in class J3dStructure
cleanup
void cleanup()
- Description copied from class:
J3dStructure
- Release resource associate with this structure before GC
We need to clear all those IndexedUnorderSet/WakeupIndexedList
so that the listIdx associate with IndexedObject reset to -1.
- Specified by:
cleanup
in class J3dStructure
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.