Skip to content

Documentation / device / isCompressedTextureFormat

Function: isCompressedTextureFormat() ​

isCompressedTextureFormat(format): boolean

Defined in: libs/device/src/base_types.ts:1821

Check whether a given texture format is a compressed format.

Parameters ​

format ​

TextureFormat

The texture format to be checked.

Returns ​

boolean

true if the texture format is a compressed format, otherwise false

Released under the MIT License.