private void setArgs(Object... args) {
        for (int i = 0; i < args.length; ++i) {
            setArg(i, args[i]);
        }
    }
Sets the kernel argument at the specified index.<br>
The argument must be a known type:
{@code LocalMemPerElement, LocalMem, Image, Buffer, byte, short, int,
long, float, double, Vector2f, Vector4f, Quaternion, Matrix3f, Matrix4f}.
<br>
Note: Matrix3f and Matrix4f will be mapped to a {@code float16} (row major).

@param index the index of the argument, from 0 to {@link #getArgCount()}-1
@param arg the argument
@throws IllegalArgumentException if the argument type is not one of the listed ones
jme3-core/src/main/java/com/jme3/opencl/Kernel.java