@Override public void writeObject( DataOutput out ) throws IOException { super.writeObject( out ); RenderingAttributes attr = (RenderingAttributes)node; out.writeInt( attr.getAlphaTestFunction() ); out.writeFloat( attr.getAlphaTestValue() ); out.writeBoolean( attr.getDepthBufferEnable() ); out.writeBoolean( attr.getDepthBufferWriteEnable() ); out.writeBoolean( attr.getIgnoreVertexColors() ); out.writeInt( attr.getRasterOp() ); out.writeBoolean( attr.getRasterOpEnable() ); out.writeBoolean( attr.getVisible() ); }