Phaser API Documentation

  Version: 
CompressedTextureData

Description:

An object containing the dimensions and mipmap data for a Compressed Texture.

Properties:
name type description
compressed boolean

Is this a compressed texture?

generateMipmap boolean

Should this texture have mipmaps generated?

width number

The width of the maximum size of the texture.

height number

The height of the maximum size of the texture.

internalFormat GLenum

The WebGL internal texture format.

mipmaps Array.<Phaser.Types.Textures.MipmapType>

An array of MipmapType objects.

Type:
object
Since: 3.60.0