Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /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

interface EXT_texture_compression_bptc {
    COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 36494;
    COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 36495;
    COMPRESSED_RGBA_BPTC_UNORM_EXT: 36492;
    COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 36493;
}
Index
COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 36494
COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 36495
COMPRESSED_RGBA_BPTC_UNORM_EXT: 36492
COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 36493
Was this helpful?