Skip to main content

WEBGL_compressed_texture_astc

The WEBGL_compressed_texture_astc extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.

MDN Reference

Methods

getSupportedProfiles()

getSupportedProfiles(): string[];

The WEBGL_compressed_texture_astc.getSupportedProfiles() method returns an array of strings containing the names of the ASTC profiles supported by the implementation.

MDN Reference

Returns

string[]

Properties

COMPRESSED_RGBA_ASTC_10x10_KHR

readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 37819;

COMPRESSED_RGBA_ASTC_10x5_KHR

readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 37816;

COMPRESSED_RGBA_ASTC_10x6_KHR

readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 37817;

COMPRESSED_RGBA_ASTC_10x8_KHR

readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 37818;

COMPRESSED_RGBA_ASTC_12x10_KHR

readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 37820;

COMPRESSED_RGBA_ASTC_12x12_KHR

readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 37821;

COMPRESSED_RGBA_ASTC_4x4_KHR

readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 37808;

COMPRESSED_RGBA_ASTC_5x4_KHR

readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 37809;

COMPRESSED_RGBA_ASTC_5x5_KHR

readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 37810;

COMPRESSED_RGBA_ASTC_6x5_KHR

readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 37811;

COMPRESSED_RGBA_ASTC_6x6_KHR

readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 37812;

COMPRESSED_RGBA_ASTC_8x5_KHR

readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 37813;

COMPRESSED_RGBA_ASTC_8x6_KHR

readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 37814;

COMPRESSED_RGBA_ASTC_8x8_KHR

readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 37815;

COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 37851;

COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 37848;

COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 37849;

COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 37850;

COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 37852;

COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 37853;

COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 37840;

COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 37841;

COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 37842;

COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 37843;

COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 37844;

COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 37845;

COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 37846;

COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR

readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 37847;