The WEBGL_compressed_texture_pvrtc extension is part of the WebGL API and exposes four PVRTC compressed texture formats.

Documentation WEBGL_compressed_texture_pvrtc by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

@:value(35843)staticinlineread onlyCOMPRESSED_RGBA_PVRTC_2BPPV1_IMG:Int = 35843

RGBA compression in 2-bit mode. One block for each 8×4 pixels.

@:value(35842)staticinlineread onlyCOMPRESSED_RGBA_PVRTC_4BPPV1_IMG:Int = 35842

RGBA compression in 4-bit mode. One block for each 4×4 pixels.

@:value(35841)staticinlineread onlyCOMPRESSED_RGB_PVRTC_2BPPV1_IMG:Int = 35841

RGB compression in 2-bit mode. One block for each 8×4 pixels.

@:value(35840)staticinlineread onlyCOMPRESSED_RGB_PVRTC_4BPPV1_IMG:Int = 35840

RGB compression in 4-bit mode. One block for each 4×4 pixels.