W3cubDocs

/Haxe JavaScript

WEBGLCompressedTextureEtc

package js.html.webgl.extension

Available on js

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.

See also:

Static variables

staticinlineread onlyCOMPRESSED_R11_EAC:Int = 37488

One-channel (red) unsigned format compression.

staticinlineread onlyCOMPRESSED_RG11_EAC:Int = 37490

Two-channel (red and green) unsigned format compression.

staticinlineread onlyCOMPRESSED_RGB8_ETC2:Int = 37492

Compresses RGB8 data with no alpha channel.

staticinlineread onlyCOMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:Int = 37494

Similar to RGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.

staticinlineread onlyCOMPRESSED_RGBA8_ETC2_EAC:Int = 37496

Compresses RGBA8 data. The RGB part is encoded the same as RGB_ETC2, but the alpha part is encoded separately.

staticinlineread onlyCOMPRESSED_SIGNED_R11_EAC:Int = 37489

One-channel (red) signed format compression.

staticinlineread onlyCOMPRESSED_SIGNED_RG11_EAC:Int = 37491

Two-channel (red and green) signed format compression.

staticinlineread onlyCOMPRESSED_SRGB8_ALPHA8_ETC2_EAC:Int = 37497

Compresses sRGBA8 data. The sRGB part is encoded the same as SRGB_ETC2, but the alpha part is encoded separately.

staticinlineread onlyCOMPRESSED_SRGB8_ETC2:Int = 37493

Compresses sRGB8 data with no alpha channel.

staticinlineread onlyCOMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:Int = 37495

Similar to SRGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/extension/WEBGLCompressedTextureEtc.html