WEBGLCompressedTextureS3tc

package js.html.webgl.extension

Available on js

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

staticinlineread onlyCOMPRESSED_RGBA_S3TC_DXT1_EXT:Int = 33777

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

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.

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.

staticinlineread onlyCOMPRESSED_RGB_S3TC_DXT1_EXT:Int = 33776

A DXT1-compressed image in an RGB image format.

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