---
title: "EXT_texture_compression_bptc | 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 EXT\_texture\_compression\_bptc

The **`EXT_texture_compression_bptc`** extension is part of the WebGL API and exposes 4 BPTC compressed texture formats. These compression formats are called BC7 and BC6H in Microsoft's DirectX API.

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

interface EXT\_texture\_compression\_bptc {  
    [COMPRESSED\_RGB\_BPTC\_SIGNED\_FLOAT\_EXT](#compressed_rgb_bptc_signed_float_ext): 36494;  
    [COMPRESSED\_RGB\_BPTC\_UNSIGNED\_FLOAT\_EXT](#compressed_rgb_bptc_unsigned_float_ext): 36495;  
    [COMPRESSED\_RGBA\_BPTC\_UNORM\_EXT](#compressed_rgba_bptc_unorm_ext): 36492;  
    [COMPRESSED\_SRGB\_ALPHA\_BPTC\_UNORM\_EXT](#compressed_srgb_alpha_bptc_unorm_ext): 36493;  
}

##### Index

### Properties[](#properties)

[COMPRESSED\_RGB\_BPTC\_SIGNED\_FLOAT\_EXT](#compressed_rgb_bptc_signed_float_ext) [COMPRESSED\_RGB\_BPTC\_UNSIGNED\_FLOAT\_EXT](#compressed_rgb_bptc_unsigned_float_ext) [COMPRESSED\_RGBA\_BPTC\_UNORM\_EXT](#compressed_rgba_bptc_unorm_ext) [COMPRESSED\_SRGB\_ALPHA\_BPTC\_UNORM\_EXT](#compressed_srgb_alpha_bptc_unorm_ext)

## Properties[](#properties-1)

### `Readonly`COMPRESSED\_RGB\_BPTC\_SIGNED\_FLOAT\_EXT[](#compressed_rgb_bptc_signed_float_ext)

COMPRESSED\_RGB\_BPTC\_SIGNED\_FLOAT\_EXT: 36494

### `Readonly`COMPRESSED\_RGB\_BPTC\_UNSIGNED\_FLOAT\_EXT[](#compressed_rgb_bptc_unsigned_float_ext)

COMPRESSED\_RGB\_BPTC\_UNSIGNED\_FLOAT\_EXT: 36495

### `Readonly`COMPRESSED\_RGBA\_BPTC\_UNORM\_EXT[](#compressed_rgba_bptc_unorm_ext)

COMPRESSED\_RGBA\_BPTC\_UNORM\_EXT: 36492

### `Readonly`COMPRESSED\_SRGB\_ALPHA\_BPTC\_UNORM\_EXT[](#compressed_srgb_alpha_bptc_unorm_ext)

COMPRESSED\_SRGB\_ALPHA\_BPTC\_UNORM\_EXT: 36493
