WEBGLCompressedTextureS3tc

js.html.webgl.extension.WEBGLCompressedTextureS3tc (extern class)

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:

Static Members

COMPRESSED_RGB_S3TC_DXT1_EXT: Int

A DXT1-compressed image in an RGB image format.


COMPRESSED_RGBA_S3TC_DXT1_EXT: Int

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


COMPRESSED_RGBA_S3TC_DXT3_EXT: Int

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


COMPRESSED_RGBA_S3TC_DXT5_EXT: Int

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.