@ServiceProvider(value=MeshEncoder.class) public class RawEncoder extends Object implements MeshEncoder
| Constructor and Description |
|---|
RawEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Mesh m,
CtmOutputStream out) |
int |
getFormatVersion() |
int |
getTag() |
protected void |
writeFloatArray(float[] array,
CtmOutputStream out,
int count,
int size) |
protected void |
writeIndices(int[] indices,
CtmOutputStream out) |
public void encode(Mesh m, CtmOutputStream out) throws IOException
encode in interface MeshEncoderIOExceptionprotected void writeIndices(int[] indices,
CtmOutputStream out)
throws IOException
IOExceptionprotected void writeFloatArray(float[] array,
CtmOutputStream out,
int count,
int size)
throws IOException
IOExceptionpublic int getTag()
getTag in interface MeshEncoderpublic int getFormatVersion()
getFormatVersion in interface MeshEncoderCopyright © 2017. All rights reserved.