The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.

Documentation WEBGL_compressed_texture_s3tc by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

@:value(33777)staticinlineread onlyCOMPRESSED_RGBA_S3TC_DXT1_EXT:Int = 33777

A DXT1-compressed image in an RGB image format with a simple on/off alpha value.

@:value(33778)staticinlineread onlyCOMPRESSED_RGBA_S3TC_DXT3_EXT:Int = 33778

A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression.

@:value(33779)staticinlineread onlyCOMPRESSED_RGBA_S3TC_DXT5_EXT:Int = 33779

A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done.

@:value(33776)staticinlineread onlyCOMPRESSED_RGB_S3TC_DXT1_EXT:Int = 33776

A DXT1-compressed image in an RGB image format.