create-cube - Create cube textures
The create-cube command creates cube texture files.
The command takes a set of image files specified with
--source-x-negative,
--source-x-positive,
--source-y-negative,
--source-y-positive,
--source-z-negative,
and
--source-z-positive,
and writes a texture
file to --output.
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.