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: 14 November, 2024