@Override
    public String toString() {
        String dataTxt = null;
        if (data != null) {
            dataTxt = ", elements=" + data.limit();
        }
        return getClass().getSimpleName() + "[fmt=" + format.name()
                + ", type=" + bufType.name()
                + ", usage=" + usage.name()
                + dataTxt + "]";
    }
Creates a deep clone of this VertexBuffer but overrides the
{@link Type}.

@param overrideType The type of the cloned VertexBuffer
@return A deep clone of the buffer
jme3-core/src/main/java/com/jme3/scene/VertexBuffer.java