---
title: "WEBGL_compressed_texture_s3tc_srgb | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface WEBGL\_compressed\_texture\_s3tc\_srgb

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)

interface WEBGL\_compressed\_texture\_s3tc\_srgb {  
    [COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT1\_EXT](#compressed_srgb_alpha_s3tc_dxt1_ext): 35917;  
    [COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT3\_EXT](#compressed_srgb_alpha_s3tc_dxt3_ext): 35918;  
    [COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT5\_EXT](#compressed_srgb_alpha_s3tc_dxt5_ext): 35919;  
    [COMPRESSED\_SRGB\_S3TC\_DXT1\_EXT](#compressed_srgb_s3tc_dxt1_ext): 35916;  
}

##### Index

### Properties[](#properties)

[COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT1\_EXT](#compressed_srgb_alpha_s3tc_dxt1_ext) [COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT3\_EXT](#compressed_srgb_alpha_s3tc_dxt3_ext) [COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT5\_EXT](#compressed_srgb_alpha_s3tc_dxt5_ext) [COMPRESSED\_SRGB\_S3TC\_DXT1\_EXT](#compressed_srgb_s3tc_dxt1_ext)

## Properties[](#properties-1)

### `Readonly`COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT1\_EXT[](#compressed_srgb_alpha_s3tc_dxt1_ext)

COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT1\_EXT: 35917

### `Readonly`COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT3\_EXT[](#compressed_srgb_alpha_s3tc_dxt3_ext)

COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT3\_EXT: 35918

### `Readonly`COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT5\_EXT[](#compressed_srgb_alpha_s3tc_dxt5_ext)

COMPRESSED\_SRGB\_ALPHA\_S3TC\_DXT5\_EXT: 35919

### `Readonly`COMPRESSED\_SRGB\_S3TC\_DXT1\_EXT[](#compressed_srgb_s3tc_dxt1_ext)

COMPRESSED\_SRGB\_S3TC\_DXT1\_EXT: 35916
