create-array - Create array textures
The create-array command creates array texture files.
The command takes a series of image files specified with repeated instances of
--source-layer, and writes a texture file to
--output. The layers of the resulting array image will match the
order in which --source-layer parameters were specified, with
the first instance of --source-layer defining layer
0, and the nth instance of
--source-layer defining layer n-1.
If the --mipmap-generate parameter is specified with a value of one of
the named filters [BICUBIC, BILINEAR, NEAREST] then a series of mipmaps will be
generated in the texture file with each scaled-down mip level being processed with the given filter.
If the --byte-order parameter is specified with a value of one of the
named endianness values [BIG_ENDIAN, LITTLE_ENDIAN]. The endianness value
determines how image data will be stored and is primarily useful for applications that wish to memory-map
texture files for direct uploading to GPUs.
The
--convert-layout-to parameter specifies that the image data provided by
the input file should be converted to the given
channel layout.
The
--metadata parameter specifies a file containing key/value metadata in
Java properties
format. The metadata keys and values will be inserted into the generated texture file.
If the --premultiply-alpha parameter is specified, then the data in the
input file will be alpha-premultiplied when written to the output texture file.
If the --super-compression parameter is specified, then the image data in
the output file will be compressed using the given compression method. Currently, the only supported
supercompression method is LZ4.