WEBGLCompressedTextureEtc
The WEBGL_compressed_texture_etc extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
Documentation WEBGL_compressed_texture_etc by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Static Members
COMPRESSED_R11_EAC: IntOne-channel (red) unsigned format compression.
COMPRESSED_SIGNED_R11_EAC: IntOne-channel (red) signed format compression.
COMPRESSED_RG11_EAC: IntTwo-channel (red and green) unsigned format compression.
COMPRESSED_SIGNED_RG11_EAC: IntTwo-channel (red and green) signed format compression.
COMPRESSED_RGB8_ETC2: IntCompresses RGB8 data with no alpha channel.
COMPRESSED_SRGB8_ETC2: IntCompresses sRGB8 data with no alpha channel.
COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: IntSimilar to RGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.
COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: IntSimilar to SRGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.
COMPRESSED_RGBA8_ETC2_EAC: IntCompresses RGBA8 data. The RGB part is encoded the same as RGB_ETC2, but the alpha part is encoded separately.
COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: IntCompresses sRGBA8 data. The sRGB part is encoded the same as SRGB_ETC2, but the alpha part is encoded separately.