WebGL
Khronos
 

WebGL WEBGL_compressed_texture_s3tc Khronos Ratified Extension Specification

Name

WEBGL_compressed_texture_s3tc

Contact

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

Contributors

Members of the WebGL working group

Version

Last modified date: July 03, 2013
Revision: 4

Number

WebGL extension #8

Dependencies

Written against the WebGL API 1.0 specification.

Overview

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

When this extension is enabled:

IDL

interface WEBGL_compressed_texture_s3tc {
    /* Compressed Texture Formats */
    const GLenum COMPRESSED_RGB_S3TC_DXT1_EXT        = 0x83F0;
    const GLenum COMPRESSED_RGBA_S3TC_DXT1_EXT       = 0x83F1;
    const GLenum COMPRESSED_RGBA_S3TC_DXT3_EXT       = 0x83F2;
    const GLenum COMPRESSED_RGBA_S3TC_DXT5_EXT       = 0x83F3;
};
  

Revision History

Revision 1, 2012/01/25

Revision 2, 2013/01/26

Revision 3, 2013/05/15

Revision 4, 2013/07/03