The following properties, data and copy are mutually exclusive.
If boolean, then it sets whether or not we should regenerate the mipmaps.
If a string, it allows you to specify a hint to the mipmap generator. If a hint is specified, then also the mipmaps will be regenerated.
Finally, mipmap can also be an array of arrays. In this case, every subarray will be one of the mipmaps, and you can thus use this option to manually specify the mipmaps of the image.
Default: false
Texture type. In many cases type can be inferred from the format and other information in the texture. However, in some situations it may still be necessary to set it manually. Default: 'uint8'
Generated using TypeDoc
Sets the number of color channels for the texture format. It can be used as an alternative to
format. Default: null