---
title: "WEBGL_compressed_texture_etc | 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\_etc

The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.

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

interface WEBGL\_compressed\_texture\_etc {  
    [COMPRESSED\_R11\_EAC](#compressed_r11_eac): 37488;  
    [COMPRESSED\_RG11\_EAC](#compressed_rg11_eac): 37490;  
    [COMPRESSED\_RGB8\_ETC2](#compressed_rgb8_etc2): 37492;  
    [COMPRESSED\_RGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2](#compressed_rgb8_punchthrough_alpha1_etc2): 37494;  
    [COMPRESSED\_RGBA8\_ETC2\_EAC](#compressed_rgba8_etc2_eac): 37496;  
    [COMPRESSED\_SIGNED\_R11\_EAC](#compressed_signed_r11_eac): 37489;  
    [COMPRESSED\_SIGNED\_RG11\_EAC](#compressed_signed_rg11_eac): 37491;  
    [COMPRESSED\_SRGB8\_ALPHA8\_ETC2\_EAC](#compressed_srgb8_alpha8_etc2_eac): 37497;  
    [COMPRESSED\_SRGB8\_ETC2](#compressed_srgb8_etc2): 37493;  
    [COMPRESSED\_SRGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2](#compressed_srgb8_punchthrough_alpha1_etc2): 37495;  
}

##### Index

### Properties[](#properties)

[COMPRESSED\_R11\_EAC](#compressed_r11_eac) [COMPRESSED\_RG11\_EAC](#compressed_rg11_eac) [COMPRESSED\_RGB8\_ETC2](#compressed_rgb8_etc2) [COMPRESSED\_RGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2](#compressed_rgb8_punchthrough_alpha1_etc2) [COMPRESSED\_RGBA8\_ETC2\_EAC](#compressed_rgba8_etc2_eac) [COMPRESSED\_SIGNED\_R11\_EAC](#compressed_signed_r11_eac) [COMPRESSED\_SIGNED\_RG11\_EAC](#compressed_signed_rg11_eac) [COMPRESSED\_SRGB8\_ALPHA8\_ETC2\_EAC](#compressed_srgb8_alpha8_etc2_eac) [COMPRESSED\_SRGB8\_ETC2](#compressed_srgb8_etc2) [COMPRESSED\_SRGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2](#compressed_srgb8_punchthrough_alpha1_etc2)

## Properties[](#properties-1)

### `Readonly`COMPRESSED\_R11\_EAC[](#compressed_r11_eac)

COMPRESSED\_R11\_EAC: 37488

### `Readonly`COMPRESSED\_RG11\_EAC[](#compressed_rg11_eac)

COMPRESSED\_RG11\_EAC: 37490

### `Readonly`COMPRESSED\_RGB8\_ETC2[](#compressed_rgb8_etc2)

COMPRESSED\_RGB8\_ETC2: 37492

### `Readonly`COMPRESSED\_RGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2[](#compressed_rgb8_punchthrough_alpha1_etc2)

COMPRESSED\_RGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2: 37494

### `Readonly`COMPRESSED\_RGBA8\_ETC2\_EAC[](#compressed_rgba8_etc2_eac)

COMPRESSED\_RGBA8\_ETC2\_EAC: 37496

### `Readonly`COMPRESSED\_SIGNED\_R11\_EAC[](#compressed_signed_r11_eac)

COMPRESSED\_SIGNED\_R11\_EAC: 37489

### `Readonly`COMPRESSED\_SIGNED\_RG11\_EAC[](#compressed_signed_rg11_eac)

COMPRESSED\_SIGNED\_RG11\_EAC: 37491

### `Readonly`COMPRESSED\_SRGB8\_ALPHA8\_ETC2\_EAC[](#compressed_srgb8_alpha8_etc2_eac)

COMPRESSED\_SRGB8\_ALPHA8\_ETC2\_EAC: 37497

### `Readonly`COMPRESSED\_SRGB8\_ETC2[](#compressed_srgb8_etc2)

COMPRESSED\_SRGB8\_ETC2: 37493

### `Readonly`COMPRESSED\_SRGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2[](#compressed_srgb8_punchthrough_alpha1_etc2)

COMPRESSED\_SRGB8\_PUNCHTHROUGH\_ALPHA1\_ETC2: 37495
