@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule oc = ex.getCapsule(this);
        for (Map.Entry<VertexBuffer.Type, FloatBuffer> entry : buffers.entrySet()) {
            VertexBuffer.Type type = entry.getKey();
            FloatBuffer roData = entry.getValue().asReadOnlyBuffer();
            oc.write(roData, type.name(), null);
        }
        oc.write(name, "morphName", null);
    }
Returns the number of `FloatBuffer`s (i.e., vertex attribute types)
contained within this morph target.

@return The count of buffers in this morph target.
jme3-core/src/main/java/com/jme3/scene/mesh/MorphTarget.java