@Override
    public WrapMode getWrap(WrapAxis axis) {
        switch (axis) {
            case S:
                return wrapS;
            case T:
                return wrapT;
            default:
                throw new IllegalArgumentException("invalid WrapAxis: " + axis);
        }
    }
Construct a TextureArray from the given list of images.
To check if a hardware supports TextureArray check : 
renderManager.getRenderer().getCaps().contains(Caps.TextureArray)

@param images the images to use (not null)
jme3-core/src/main/java/com/jme3/texture/TextureArray.java