WebGL
Khronos
 

WebGL WEBGL_compressed_texture_pvrtc Extension Specification

Name

WEBGL_compressed_texture_pvrtc

Contact

WebGL working group (public_webgl 'at' khronos.org)

Contributors

Members of the WebGL working group

Version

Last modified date: July 15, 2014
Revision: 4

Number

WebGL extension #13

Dependencies

Written against the WebGL API 1.0 specification.

Overview

This extension exposes the compressed texture formats defined in the IMG_texture_compression_pvrtc OpenGL extension to WebGL.

When this extension is enabled:

IDL

[NoInterfaceObject]
interface WEBGL_compressed_texture_pvrtc {
    /* Compressed Texture Formats */
    const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG      = 0x8C00;
    const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG      = 0x8C01;
    const GLenum COMPRESSED_RGBA_PVRTC_4BPPV1_IMG     = 0x8C02;
    const GLenum COMPRESSED_RGBA_PVRTC_2BPPV1_IMG     = 0x8C03;
};
  

Revision History

Revision 1, 2012/08/07

Revision 2, 2013/07/03

Revision 3, 2014/06/27

Revision 4, 2014/07/15