Phaser API Documentation

  Version: 
CompressedTextureFileEntry
Properties:
name type arguments description
format string <optional>

The texture compression base format that the browser must support in order to load this file. Can be any of: 'ETC', 'ETC1', 'ATC', 'ASTC', 'BPTC', 'RGTC', 'PVRTC', 'S3TC', 'S3TCSRGB' or the fallback format of 'IMG'.

type string <optional>

The container format, either PVR or KTX. If not given it will try to extract it from the textureURL extension.

textureURL string <optional>

The URL of the compressed texture file to load.

atlasURL string <optional>

Optional URL of a texture atlas JSON data file. If not given, the texture will be loaded as a single image.

multiAtlasURL string <optional>

Optional URL of a multi-texture atlas JSON data file as created by Texture Packer Pro.

multiPath string <optional>

Optional path to use when loading the textures defined in the multi atlas data.

multiBaseURL string <optional>

Optional Base URL to use when loading the textures defined in the multi atlas data.

Type:
object