The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.

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

See also:

Static variables

@:value(35917)staticinlineread onlyCOMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT:Int = 35917

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

@:value(35918)staticinlineread onlyCOMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT:Int = 35918

A DXT3-compressed image in an sRGBA image format.

@:value(35919)staticinlineread onlyCOMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT:Int = 35919

A DXT5-compressed image in an sRGBA image format.

@:value(35916)staticinlineread onlyCOMPRESSED_SRGB_S3TC_DXT1_EXT:Int = 35916

A DXT1-compressed image in an sRGB image format.