Phaser API Documentation

  Version: 
getCompressedTextureName(baseFormat, [format])

Description:

Returns a compressed texture format GLenum name based on the given format.

Parameters:

name type arguments description
baseFormat string

The Base Format to check.

format GLenum <optional>

An optional GLenum format to check within the base format.

Returns:
Description:

The compressed texture format name, as a string.

Type:
  • string
Since: 3.60.0