transparency

transparency: TextureTransparency | undefined

Describes the transparency of the image. If this information can be supplied, it can improve performance. If not supplied, PNGs will default to TextureTransparency.Mixed and JPEGs (which do not support transparency) to TextureTransparency.Opaque.

Defined in

Last Updated: 17 December, 2024