Class J3MOutputCapsule
java.lang.Object
com.jme3.material.plugin.export.material.J3MOutputCapsule
- All Implemented Interfaces:
OutputCapsule
- Direct Known Subclasses:
J3MRenderStateOutputCapsule
,J3MRootOutputCapsule
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
protected String
protected static String
protected static String
formatWrapMode
(Texture texVal, Texture.WrapAxis axis) protected void
putParameter
(String name, String value) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
write
(ByteBuffer value, String name, ByteBuffer defVal) void
write
(FloatBuffer value, String name, FloatBuffer defVal) void
void
write
(ShortBuffer value, String name, ShortBuffer defVal) void
void
writeByteBufferArrayList
(ArrayList<ByteBuffer> array, String name, ArrayList<ByteBuffer> defVal) void
writeFloatBufferArrayList
(ArrayList<FloatBuffer> array, String name, ArrayList<FloatBuffer> defVal) void
protected void
writeParameter
(Writer out, String name, String value) void
writeSavableArrayList
(ArrayList array, String name, ArrayList defVal) void
writeSavableArrayListArray
(ArrayList[] array, String name, ArrayList[] defVal) void
writeSavableArrayListArray2D
(ArrayList[][] array, String name, ArrayList[][] defVal) void
writeSavableMap
(Map<? extends Savable, ? extends Savable> map, String name, Map<? extends Savable, ? extends Savable> defVal) void
writeStringSavableMap
(Map<String, ? extends Savable> map, String name, Map<String, ? extends Savable> defVal) void
writeToStream
(Writer out)
-
Field Details
-
exporter
-
-
Constructor Details
-
J3MOutputCapsule
-
-
Method Details
-
writeToStream
- Throws:
IOException
-
writeParameter
- Throws:
IOException
-
clear
public void clear() -
putParameter
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
writeStringSavableMap
public void writeStringSavableMap(Map<String, ? extends Savable> map, String name, Map<String, throws IOException? extends Savable> defVal) - Specified by:
writeStringSavableMap
in interfaceOutputCapsule
- Throws:
IOException
-
format
-
formatMatParamTexture
-
formatWrapMode
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
writeSavableArrayList
public void writeSavableArrayList(ArrayList array, String name, ArrayList defVal) throws IOException - Specified by:
writeSavableArrayList
in interfaceOutputCapsule
- Throws:
IOException
-
writeSavableArrayListArray
public void writeSavableArrayListArray(ArrayList[] array, String name, ArrayList[] defVal) throws IOException - Specified by:
writeSavableArrayListArray
in interfaceOutputCapsule
- Throws:
IOException
-
writeSavableArrayListArray2D
public void writeSavableArrayListArray2D(ArrayList[][] array, String name, ArrayList[][] defVal) throws IOException - Specified by:
writeSavableArrayListArray2D
in interfaceOutputCapsule
- Throws:
IOException
-
writeFloatBufferArrayList
public void writeFloatBufferArrayList(ArrayList<FloatBuffer> array, String name, ArrayList<FloatBuffer> defVal) throws IOException - Specified by:
writeFloatBufferArrayList
in interfaceOutputCapsule
- Throws:
IOException
-
writeByteBufferArrayList
public void writeByteBufferArrayList(ArrayList<ByteBuffer> array, String name, ArrayList<ByteBuffer> defVal) throws IOException - Specified by:
writeByteBufferArrayList
in interfaceOutputCapsule
- Throws:
IOException
-
writeSavableMap
public void writeSavableMap(Map<? extends Savable, ? extends Savable> map, String name, Map<? extends Savable, throws IOException? extends Savable> defVal) - Specified by:
writeSavableMap
in interfaceOutputCapsule
- Throws:
IOException
-
writeIntSavableMap
public void writeIntSavableMap(IntMap<? extends Savable> map, String name, IntMap<? extends Savable> defVal) throws IOException - Specified by:
writeIntSavableMap
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-
write
- Specified by:
write
in interfaceOutputCapsule
- Throws:
IOException
-